- Index
- » Users
- » hkalbasi
- » Profile
Posts
Posts
Thank you for your quick response.
No it is not loaded. I see this at the start:
[1] 17:10:45 Scripting Notification
You can install the requested package using one of the commands:
installPackage(Modelica, "3.2.3+maint.om", exactMatch=true)
installPackage(Modelica).
[2] 17:10:45 Scripting Error
Failed to load package Modelica (default) using MODELICAPATH /usr/bin/../lib/omlibrary:/home/hamid/.openmodelica/libraries/.
[3] 17:10:45 Scripting Notification
You can install the requested package using one of the commands:
installPackage(ModelicaReference, "3.2.3+maint.om", exactMatch=true)
installPackage(ModelicaReference).
Where I should run the commands? Openmodelica Compiler CLI print a "false" immediately after I send the command "installPackage(ModelicaReference)".
Sorry for my noob problem.
I can not simulate any model, because of error "Class modelica.xxx.yyy.zzz not found in scope mysample"
How I can install/enable the standard library?
This is one of codes that does not work:
model boz
parameter Modelica.SIunits.Mass m = 2;
parameter Real f(unit="N",min=0) = 2;
Real s(unit="m");
Real v(unit="m/s");
equation
v = der(s);
f = der(v) * m;
end boz;
Which produce error:
[1] 17:13:33 Translation Error
[boz: 3:1-3:38]: Class Modelica.SIunits.mass not found in scope boz.
- Index
- » Users
- » hkalbasi
- » Profile