- Index
- » Programming
- » Modelica Language
- » Compile Problems: Assertion failed:...
Page Start Prev 1 Next End
Compile Problems: Assertion failed: NULL == \
Compile Problems: Assertion failed: NULL == \
Feb-12-13 11:29:10
Hi, I try to compile a simple code
Code:
class Iteration_step
import Modelica.SIunits;
parameter SIunits.Time delta_t = 0.5;
constant Real a[:] = {4,2,6,-1,3,5,7,4,-3,-6};
Real x;
Integer j(start=1);
algorithm
when sample(0, delta_t) then
x := a[j];
j := j + 1;
end when;
end Iteration_step;
but i get this errow message: Assertion failed: NULL == \
Has anybody an idea?
Re: Compile Problems: Assertion failed: NULL == \
Feb-13-13 02:41:00
What revision and OS of OpenModelica are you using? Everything runs fine for me on 64-bit Linux. Even valgrind doesn't complain.
- sjoelund.se
- 1700 Posts
Page Start Prev 1 Next End
- Index
- » Programming
- » Modelica Language
- » Compile Problems: Assertion failed:...
There are 0 guests and 0 other users also viewing this topic