Dear,
I'm trying to get a model running, and I get very unclear error messages. After some searching, it seems that the cause is an algorithm. I did some tests and could reduce the problem to this.
This code is working (JMU compiler)
model Tester_Algo
Real x;
equation
x =if time > 100 then 666 else 123;
end Tester_Algo;
but this code is NOT working (JMU compiler):
model Tester_Algo
Real x;
algorithm
x :=if time > 100 then 666 else 123;
end Tester_Algo;
Is this normal JModelica behaviour? I can't find any limitations on algorithms in the 1.6 manual.
Thanks for your help,
Roel