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

OpenModelica 1.9 does not work

OpenModelica 1.9 does not work

Greetings from Colombia

I m testing examples, openModelica 1.9.0 Beta2 (r13569)... and it has troubles in compilation
OS:Ubuntu 10.04- 2.6.32-45-generic #99-Ubuntu SMP Tue Oct 16 16:26:56 UTC 2012 x86_64 GNU/Linux

thanks in advance

error:

Translation    08:39:07        0:0-0:0    Error building simulator. Buildlog: gcc   -falign-functions -march=native -mfpmath=sse -fPIC   -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary"   -c -o Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.o Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.c
gcc   -falign-functions -march=native -mfpmath=sse -fPIC   -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary"   -c -o Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_records.o Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_records.c
g++ -I. -o Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.o Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_records.o -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary"  -L"/usr/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Examples/Elementary"     -falign-functions -march=native -mfpmath=sse -fPIC   -L"/usr/lib/omc" -lSimulationRuntimeC   -ldl -linteractive  -lexpat   -lrt -fopenmp -lsundials_kinsol -lsundials_nvecserial -llapack  -lpthread -Wl,-Bstatic -lf2c -Wl,-Bdynamic
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59847): undefined reference to `KINSetUserData'
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59890): undefined reference to `KINInit'
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59914): undefined reference to `KINDlsGetNumJacEvals'
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59928): undefined reference to `KINDlsGetNumFuncEvals'
collect2: ld returned 1 exit status
make: *** [omc_main_target] Error 1

Re: OpenModelica 1.9 does not work

Hi,

Try the latest Linux build. Also, make sure you have installed sundials package.

Cheers,
Adrian Pop/

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