If I am using Modelica or Vensim Functions then I get NullPointerExeption. If I open some Modelica Functions then the code is not compile or empty (see screen shot).
I am using Simantics-1.8.0-Synsdyn-32.
Any help is appreciated
Regards
Juerg
Modelica and Vensim Functions generated NullPointerExeption
Modelica and Vensim Functions generated NullPointerExeption
- Attachments
-
- Bildschirmfoto 2014-08-26 um 11.51.43.png (207.5 KiB) Viewed 34650 times
-
- Site Admin
- Posts: 31
- Joined: March 11th, 2013, 3:14 pm
Re: Modelica and Vensim Functions generated NullPointerExept
This is due to the custom "internal" Modelica solver being set as the default solver, instead of OpenModelica. The internal solver is faster but is missing a lot of features supported by OpenModelica. Switching to OpenModelica solves this issue. The solver can be changed in Window -> Preferences -> Solver.
(Btw, the Modelica code editor shows merely interfaces for most built-in functions, and not even that for other ones.)
(Btw, the Modelica code editor shows merely interfaces for most built-in functions, and not even that for other ones.)
Re: Modelica and Vensim Functions generated NullPointerExept
Thanks for the fast replay. I have changed the Solver to the OpenModelica and now it works.
Many thanks and best regards
Juerg
Many thanks and best regards
Juerg