Opened 9 years ago
Closed 9 years ago
#3561 closed defect (fixed)
Not even "hello world" compiles well after recent update
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Installation program | Version: | |
Keywords: | Hello world | Cc: | Martin Sjölund |
Description
Hi, after a recent update (to 1.9.4~dev-414-ga40d8e6) not even the simplest model compiles well:
class HelloWorld Real x(start = 1,fixed=true); parameter Real a = 1; equation der(x) = - a * x; end HelloWorld;
and then
simulate( HelloWorld, startTime=0, stopTime=4 )
returns
record SimulationResult resultFile = "", messages = "Failed to build model: HelloWorld" end SimulationResult; OMC-ERROR: "Error: Error building simulator. Build log: clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld.o HelloWorld.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_functions.o HelloWorld_functions.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_records.o HelloWorld_records.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_01exo.o HelloWorld_01exo.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_02nls.o HelloWorld_02nls.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_03lsy.o HelloWorld_03lsy.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_04set.o HelloWorld_04set.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_05evt.o HelloWorld_05evt.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_06inz.o HelloWorld_06inz.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_07dly.o HelloWorld_07dly.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_08bnd.o HelloWorld_08bnd.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_09alg.o HelloWorld_09alg.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_10asr.o HelloWorld_10asr.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_11mix.o HelloWorld_11mix.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_12jac.o HelloWorld_12jac.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_13opt.o HelloWorld_13opt.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_14lnz.o HelloWorld_14lnz.c clang -fPIC -O0 -march=native -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o HelloWorld_15syn.o HelloWorld_15syn.c clang -I. -o HelloWorld HelloWorld.o HelloWorld_functions.o HelloWorld_records.o HelloWorld_01exo.o HelloWorld_02nls.o HelloWorld_03lsy.o HelloWorld_04set.o HelloWorld_05evt.o HelloWorld_06inz.o HelloWorld_07dly.o HelloWorld_08bnd.o HelloWorld_09alg.o HelloWorld_10asr.o HelloWorld_11mix.o HelloWorld_12jac.o HelloWorld_13opt.o HelloWorld_14lnz.o HelloWorld_15syn.o -I"/usr/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -fPIC -O0 -march=native -L"/usr/lib/x86_64-linux-gnu/omc" -L"/usr/lib" -Wl,-rpath,"/usr/lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/usr/lib" -lSimulationRuntimeC -llapack -lblas -lm -lomcgc -lpthread -rdynamic -Wl,--no-undefined /usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so: undefined reference to `AddIpoptIntOption' /usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so: undefined reference to `CreateIpoptProblem' /usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so: undefined reference to `AddIpoptStrOption' /usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so: undefined reference to `FreeIpoptProblem' /usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so: undefined reference to `IpoptSolve' /usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so: undefined reference to `AddIpoptNumOption' clang: error: linker command failed with exit code 1 (use -v to see invocation) HelloWorld.makefile:29: návod pro cÃl âomc_main_targetâ selhal make: *** [omc_main_target] Chyba 1 "
Change History (4)
comment:1 by , 9 years ago
Cc: | added |
---|
comment:2 by , 9 years ago
comment:4 by , 9 years ago
Component: | Unknown → Installation program |
---|---|
Milestone: | 1.9.4 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I think this is working in 423 which was released today.