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

Posts

Posts

I updated our ubuntu to trunk version 7913.

./configure --with-omniORB=usr --with-sendData-Qt --with-Coin 

fails with the following error:

checking for usr/bin/omniidl... configure: error: not found

Feb-01-11 19:17:47
Save Function of OMEdit

I'm using OMEdit. I load a package and renamed a parameter in one file. Then I saved the file. If I want to close OMEdit, OMEdit asks me if I want to close and that there are unsaved models...??? How can I solve this problem? I saved the file? Why does OMEdit not ask if all files should saved?

Nov-10-10 15:11:54
some problems with dcmotor.mo

Thank you, now

loadModel(Modelica) = true

checkSettings() returns for OPENMODELICALIBRARY = "\home\share\OpenModelicaSource\librariers\msl32"

loadFile("dcmotor.mo") is also true, but simulate returns an error!

Error: Class Modelica.Mechanics.Rotational.Inertia not found in scope dcmotor while instantiating load.
Error: Error occured while flattening model dcmotor

Did I load the wrong library?

Nov-10-10 13:37:22
some problems with dcmotor.mo

Hello,

I'm using OMC on Kubuntu ....

LoadModel(Modelica) returns false in QMShell-terminal.

I tried to set OPENMODELICALIBRARY, but it doesn't work...

echo $OPENMODELICAHOME                 /home/share/OpenModelicaSource/build
echo $OPENMODELICALIBRARY            /home/share/OpenModelicaSource/libraries/msl32/
I don't know, if the path of the Modelica Library is correct...

I also tried to translate dcmotor.mo via command line:

omc dcmotor.mo
The following error message appears:
Error processing file: dcmotor.mo
Error: Class Modelica.Electrical.Analog.Basic.Resistor not found in scope dcmotor while instantiating r1.
I also want to simulate some models which are inhearited from other classes. (but not Modelica classes). I don't want use 'saveTotal'. What are the necessary steps? I don't find a good example in documentation.

Thanks for your help!

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