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
  • Index
  • » Users
  • » katarina
  • » Profile

Posts

Posts

I need to run old OpenModelica on Ubuntu 10.04 without GUI and X terminal and I am not able to receive results from simulation. It is more evident from following commands:

teacher@om:/usr/lib/omc/bin$ ./omc ++v
1.4.5
teacher@om:/usr/lib/omc/bin$ OMShell-terminal
Open Source Modelica Terminal Shell
Copyright 1997-2008, PELAB, Linkoping University
To get help on using Mosh and OpenModelica, type "help()" and press enter
Started server using:/usr/lib/omc/bin/omc +d=interactive > /tmp/error.log2>&1 &
res = 0
>>> loadModel(Modelica)
true
>>> loadFile("/usr/share/doc/omc/testmodels/BouncingBall.mo")
true
>>> simulate(BouncingBall)
Recieved 0 bytes, exiting
teacher@om:/usr/lib/omc/bin$

The change of formatOutput does not help. When I execute some command as e.g. "1+1" I receive result without problem. I got the same results also in the case when I executed the same commands via CORBA server.
Can you help me with the advice what should I do to receive results from simulation? Thanks in advance.

  • Index
  • » Users
  • » katarina
  • » Profile
You are here: