Opened 6 years ago
Closed 6 years ago
#4978 closed defect (fixed)
FMI build fail in current nightly build
Reported by: | Willi Braun | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | Build Environment | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
With currently night build the FMI export is broken on linux. Tested with 1.13.0~dev-1056-gcbf553e-1.
[7] 14:53:48 Translation Error Error building simulator. Build log: make: Entering directory '/tmp/OpenModelica_wbraun/OMEdit/TestFMI/TestFMI.fmutmp/sources' clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=TestFMI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o TestFMI_FMU.o TestFMI_FMU.c clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=TestFMI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o TestFMI.o TestFMI.c clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=TestFMI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o TestFMI_functions.o TestFMI_functions.c clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=TestFMI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o TestFMI_records.o TestFMI_records.c clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=TestFMI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o TestFMI_01exo.o TestFMI_01exo.c clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=TestFMI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 [...] mkdir -p ../binaries/linux64 clang -shared -o TestFMI.so TestFMI_FMU.o TestFMI.o TestFMI_functions.o TestFMI_records.o TestFMI_01exo.o TestFMI_02nls.o TestFMI_03lsy.o TestFMI_04set.o TestFMI_05evt.o TestFMI_06inz.o TestFMI_07dly.o TestFMI_08bnd.o TestFMI_09alg.o TestFMI_10asr.o TestFMI_11mix.o TestFMI_12jac.o TestFMI_13opt.o TestFMI_14lnz.o TestFMI_15syn.o TestFMI_16dae.o TestFMI_17inl.o TestFMI_init_fmu.o -L'/usr/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/usr/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: cannot find -lSimulationRuntimeFMI clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:41: recipe for target 'TestFMI_FMU' failed make: *** [TestFMI_FMU] Error 1 make: Leaving directory '/tmp/OpenModelica_wbraun/OMEdit/TestFMI/TestFMI.fmutmp/sources'
Note:
See TracTickets
for help on using tickets.
This should be working now