Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test25.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 235 MB / 248 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.784e-05, allocations: 8 kB / 309.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4342, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5852, allocations: 80.88 MB / 445.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5856, allocations: 71.95 kB / 445.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01235/0.5979, allocations: 2.884 MB / 448.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.598, allocations: 0 / 448.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.598, allocations: 0 / 448.5 MB, free: 12.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005476/0.5986, allocations: 416 kB / 448.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5986, allocations: 8.031 kB / 448.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.5987, allocations: 39.39 kB / 448.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.5987, allocations: 7.906 kB / 448.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.599, allocations: 183 kB / 449.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.599, allocations: 5.312 kB / 449.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.5991, allocations: 4 kB / 449.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.5992, allocations: 49.67 kB / 449.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5993, allocations: 7.938 kB / 449.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.5993, allocations: 11.34 kB / 449.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5993, allocations: 4 kB / 449.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.5994, allocations: 12 kB / 449.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.5999, allocations: 288.8 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6, allocations: 42.5 kB / 449.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.6001, allocations: 20.81 kB / 449.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.6001, allocations: 0 / 449.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.6001, allocations: 34.56 kB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.6002, allocations: 0 / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006677/0.6008, allocations: 141.5 kB / 449.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.6009, allocations: 56.06 kB / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.6011, allocations: 138.1 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.6011, allocations: 25.7 kB / 449.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.6012, allocations: 162.6 kB / 450.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.6013, allocations: 27.55 kB / 450.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.6013, allocations: 4 kB / 450.1 MB, free: 10.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6014, allocations: 310.8 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.6015, allocations: 17.22 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.6016, allocations: 20 kB / 450.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.829e-05/0.6017, allocations: 49.69 kB / 450.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6017, allocations: 0 / 450.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002306/0.6019, allocations: 111.3 kB / 450.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.602, allocations: 29.7 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.602, allocations: 144 / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.602, allocations: 0 / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.6023, allocations: 27.97 kB / 450.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6023, allocations: 0 / 450.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.6024, allocations: 23.98 kB / 450.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.6024, allocations: 0 / 450.7 MB, free: 10.24 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 (8): * Single equations (assignments): 7 * 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 8.226e-05/0.6025, allocations: 108.9 kB / 450.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.6026, allocations: 15.8 kB / 450.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.603, allocations: 90.23 kB / 450.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.603, allocations: 0 / 450.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.603, allocations: 8 kB / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6031, allocations: 0 / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.6037, allocations: 354.9 kB / 451.3 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.6037, allocations: 0 / 451.3 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.6039, allocations: 31.91 kB / 451.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6039, allocations: 0 / 451.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.604, allocations: 0 / 451.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.604, allocations: 0 / 451.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.604, allocations: 4 kB / 451.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.6043, allocations: 179.5 kB / 451.5 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.6043, allocations: 85.02 kB / 451.5 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.6044, allocations: 4 kB / 451.6 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.6045, allocations: 15.98 kB / 451.6 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.6046, allocations: 3.984 kB / 451.6 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6046, allocations: 8 kB / 451.6 MB, free: 9.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.6048, allocations: 116.7 kB / 451.7 MB, free: 9.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6048, allocations: 0 / 451.7 MB, free: 9.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.6051, allocations: 19.94 kB / 451.7 MB, free: 9.113 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 (7): * Single equations (assignments): 7 * 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.001288/0.6064, allocations: 0.8898 MB / 452.6 MB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.6067, allocations: 99.34 kB / 452.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6067, allocations: 4 kB / 452.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.6068, allocations: 27.98 kB / 452.7 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.6071, allocations: 8 kB / 452.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.6079, allocations: 216.3 kB / 452.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6083, allocations: 0.7042 MB / 453.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.6084, allocations: 27.42 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6084, allocations: 4 kB / 453.7 MB, free: 7.113 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_CombiTable2D_Test25CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25FMU.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_CombiTable2D_Test25.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25CalcHelperMain.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_CombiTable2D_Test25_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25.fmu] Error 1