Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.88e-05, allocations: 4 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4099, allocations: 54.86 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5665, allocations: 80.86 MB / 440.7 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5669, allocations: 69.12 kB / 440.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.5807, allocations: 2.737 MB / 443.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5808, allocations: 0 / 443.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.5808, allocations: 4 kB / 443.5 MB, free: 13.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007797/0.5816, allocations: 400 kB / 443.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.5817, allocations: 8.031 kB / 443.9 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.5818, allocations: 42.48 kB / 444 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.5818, allocations: 7.953 kB / 444 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.5821, allocations: 183 kB / 444.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5822, allocations: 4 kB / 444.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.5822, allocations: 4 kB / 444.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5823, allocations: 41.69 kB / 444.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5824, allocations: 7.984 kB / 444.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5824, allocations: 0 / 444.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.5824, allocations: 5.953 kB / 444.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.5825, allocations: 12 kB / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.5829, allocations: 276.8 kB / 444.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.5832, allocations: 34.58 kB / 444.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.5833, allocations: 16.86 kB / 444.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.5833, allocations: 96 / 444.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.5833, allocations: 41.22 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.5834, allocations: 0 / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005372/0.5839, allocations: 105.4 kB / 444.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.584, allocations: 51.41 kB / 444.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.5842, allocations: 134.9 kB / 444.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.5842, allocations: 29.7 kB / 444.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.5843, allocations: 158.6 kB / 445.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.5843, allocations: 19.66 kB / 445.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.5843, allocations: 0 / 445.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5845, allocations: 314.8 kB / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.5846, allocations: 12 kB / 445.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.5846, allocations: 12 kB / 445.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.21e-05/0.5847, allocations: 41.69 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5847, allocations: 0 / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001908/0.5849, allocations: 99.27 kB / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.585, allocations: 39.38 kB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.585, allocations: 0.8125 kB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.585, allocations: 0 / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.5852, allocations: 15.98 kB / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5852, allocations: 0 / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.5853, allocations: 8 kB / 445.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.5853, allocations: 0 / 445.6 MB, free: 10.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.5854, allocations: 105 kB / 445.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.5855, allocations: 7.906 kB / 445.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.5857, allocations: 88.66 kB / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5858, allocations: 0 / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5858, allocations: 0 / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5858, allocations: 0 / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.5863, allocations: 326.6 kB / 446.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5863, allocations: 4.891 kB / 446.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5865, allocations: 16 kB / 446.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5865, allocations: 0 / 446.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5865, allocations: 7.984 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5865, allocations: 3.938 kB / 446.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5865, allocations: 0 / 446.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.5867, allocations: 155.5 kB / 446.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.5868, allocations: 88.97 kB / 446.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5868, allocations: 5.312 kB / 446.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.587, allocations: 8 kB / 446.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.587, allocations: 4.734 kB / 446.4 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5871, allocations: 8 kB / 446.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.5872, allocations: 109.9 kB / 446.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5872, allocations: 0 / 446.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.5876, allocations: 16 kB / 446.5 MB, free: 9.875 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.5889, allocations: 0.8758 MB / 447.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.5892, allocations: 91.34 kB / 447.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5892, allocations: 0 / 447.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.5893, allocations: 15.94 kB / 447.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.5895, allocations: 11.98 kB / 447.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.5902, allocations: 182 kB / 447.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.5906, allocations: 0.6965 MB / 448.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.5907, allocations: 19.44 kB / 448.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5907, allocations: 0 / 448.4 MB, free: 7.957 MB / 378.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning generated. clang++ -shared -o ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Tables" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:4972: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7711: undefined reference to `rpl_snprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu] Error 1