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

Can't run run simulation on any platform

Can't run run simulation on any platform

Hello,

I'm trying to simulate given TwoTanks example but face some difficulties.
I followed the tutorial (ihttp://www.ida.liu.se/~pelab/modelica/OpenModelica/MDT/ModelicaML/doc/ModelicaML_getting_started_v11.pdf) using exact versions of every component. Everything seems to work, however, when i want to simulate one of the two available scenarios:

1. In OSX i get
Simulation failed for:
                  - TwoTanksExample.Scenarios.Change_of_input_flow

************************** LOG ************************
cd: "Error, directory /var/folders/gn/vvm8h20n1ls438vj9mhfhh800000gn/T/OpenModelica does not exist,"

ErrorString: ""

OR

An internal error occurred during: "Simulating using OMC ...".
Illegal character in path at index 10: file:/rror while sending expression: getTempDirectoryPath()
Unable to read OpenModelica Compiler CORBA object from /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/openmodelica.root.objid.md/OpenModelica/TwoTanksExample.Scenarios.Change_of_input_flow.exe

have no idea when which occurs.

2. almost the same in Windows and linux

Thank you!

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