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
  • » OBIN
  • » Profile

Posts

Posts

Jun-14-10 12:52:50
Topic: Graphics
Unable to draw graphics

Hello,

I'm new in Modelica.
I'm  trying to run the example "testGeom" , page 41 of the "OpenModelicaUsersGuide":

When loading the model in OMShell, it seems to be OK. Running the simulation gives the following result:

>> simulate(testGeom)
record SimulationResult
    resultFile = "Simulation failed.
Error: Class pltpkg.rect (its type)  not found in scope testGeom.$for loop scope$.$for loop scope$.$for loop scope$.$for loop scope$.
Error: No matching function found for pltpkg.rect
Error: Class pltpkg.rect not found in scope testGeom.$for loop scope$.$for loop scope$.$for loop scope$.$for loop scope$.
Error: Error occured while flattening model testGeom
"
end SimulationResult;

It seems that the package pltpkg is missing.
Some Help is welcome (:-current/wink
Arnaud

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