Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

how to use interactive simulation?

how to use interactive simulation?

Hi:
   I try to use interacitve simulation and have downloaded the TwoTanks example. It works fine. 
   Now I try to build another model, such as Modelica.Fluid.Examples.Tanks.EmptyTanks. In OMShell, I bulidModel it, and get Modelica.Fluid.Examples.Tanks.EmptyTanks.exe.
   Then I run Modelica.Fluid.Examples.Tanks.EmptyTanks.exe. It needs pthreadGC2.dll and libgfortran-3.dll. I copy them from OpenModelica1.9.0 directory.
   Finally, Modelica.Fluid.Examples.Tanks.EmptyTanks.exe can run, and communicates with the Client.exe in the TwoTanks example. The first setcontrolclienturl#1#127.0.0.1#10500#end
settransferclienturl#2#127.0.0.1#10502#end
setfilter#3#tank1.h#source.flowLevel#end  is OK.
   But when  start#4#end, there is a error: The instruction at "0x004706c8" referenced memory at "0xfffffff". The memory could not be "written".
   Why?

There are 0 guests and 0 other users also viewing this topic
You are here: