title: Modelica assert(condition, message, level=AssertionLevel.warning);
body: <p>Part 8.3.7 of the Modelica Spec describes the function <code>assert</code> and gives two examples, but whenever I try to use one of the following commands, it does not work as expected:</p>
  
  <pre><code>assert(T &gt; 250 and T &lt; 400, 
      "Medium model outside full accuracy range", 
      AssertionLevel.warning);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>assert(T &gt; 250 and T &lt; 400, 
      "Medium model outside full accuracy range", 
      level=AssertionLevel.warning);
  </code></pre>
  
  <p>What is wrong here? Did I miss something obvious?</p>