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

Bouncing Ball Visualization error

Bouncing Ball Visualization error

I'm still learning Modelica, and have been looking at the "3D_Bouncingball3D.onb" example from the 1.7  testsuite and have two issues:

1.) loadModel(SimpleVisual)
This line wouldn't parse, so I tried "loadModel(Modelica.SimpleVisual)", and I think that works correctly.

2.) visualize(BouncingBall3D)
This results in the following error:

OMC-ERROR:
"ERROR: systemimpl.c:value_to_type_desc failed: Values.CODE

"

Could someone give me a clue as to what's gone wrong here?  All I wanted was to see the bouncing ball!

Re: Bouncing Ball Visualization error

I'm having the same problem. Anyone have any ideas?

Re: Bouncing Ball Visualization error

I am not sure, but I believe that the visualization is disabled, since version 1.5.0..

so long.
Willi

Re: Bouncing Ball Visualization error

Hi,

I encountered the same problem with the 'MyPendulum3D example' using OpenModelica 1.7.0.
Using the OpenModelica 1.8.0 beta 3, I get a different error message : Class SimpleVisual.PositionSize not found in scope MyPendulum3D

Does anyone have more information about this ?

Thanks a lot

Benjamin

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