- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » get back OpenModelica 1.5.0
get back OpenModelica 1.5.0
get back OpenModelica 1.5.0
Hy all,
I have a problem with OM 1.6.0. I have Ubuntu 10.04 and I work on project, where OM communicate with external C function. Its worked fine, but I updated OM and I have now OM 1.6.0.
My problem is project cant work in OM 1.6. I used sample function in model:
Code:
model myModel
parameter Real fun = 0;
parameter Real led = 0;
parameter Real Ts = 0.01 "sample time [s]";
Teplota tep;
Intenzita int;
equation
when sample(time,Ts) then
tep.value = omReadWrite(int.value,fun,led);
end when;
end myModel;
OmReadWrite is external C function, which alone works fine. The whole project worked fine, but now I get error:
Code:
Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works)
[ExternalPID.mo:42:3-42:45:writable] Error: Internal error SimCode.createNonlinearResidualEquations failed
Error: Internal error createOdeSystem2 failed
Error: Internal error createOdeSystem failed
Error: Internal error createEquations failed
Error: Internal error Generation of simulation using code using templates failed
I dont know where can I find OM 1.5.0. Any idea for solution?
Thanks,
xilos.
Re: get back OpenModelica 1.5.0
Hi,
I am not an expert, but if everything else fails, you probably could still install from source. http://www.openmodelica.org/index.php/d … ource-code
There, the old version still seems to be available.
regards,
asd
Re: get back OpenModelica 1.5.0
You could also use the release version instead of stable or nightly. That's the actual 1.5.0 release.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » get back OpenModelica 1.5.0