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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.746e-05, allocations: 4 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3947, allocations: 54.86 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.544, allocations: 80.89 MB / 445.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5443, allocations: 63.97 kB / 445.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.5569, allocations: 3.039 MB / 448.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.557, allocations: 0 / 448.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.557, allocations: 0 / 448.6 MB, free: 12.52 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.0005445/0.5576, allocations: 420 kB / 449 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5576, allocations: 8.031 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.5577, allocations: 37.31 kB / 449.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.5577, allocations: 11.91 kB / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.558, allocations: 199.4 kB / 449.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5581, allocations: 3.281 kB / 449.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.5581, allocations: 4 kB / 449.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.5583, allocations: 53.69 kB / 449.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5583, allocations: 0 / 449.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5583, allocations: 3.953 kB / 449.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5583, allocations: 0 / 449.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.5584, allocations: 16 kB / 449.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.5589, allocations: 300.2 kB / 449.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.559, allocations: 38.53 kB / 449.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.5591, allocations: 16.86 kB / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.5591, allocations: 0 / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5591, allocations: 30.56 kB / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.5591, allocations: 0 / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006789/0.5598, allocations: 157.4 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.5599, allocations: 51.41 kB / 449.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.5601, allocations: 177.3 kB / 450.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.5602, allocations: 29.7 kB / 450.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.5603, allocations: 163.7 kB / 450.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.5603, allocations: 23.66 kB / 450.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.5603, allocations: 0 / 450.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5605, allocations: 314.8 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.5605, allocations: 20 kB / 450.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.5606, allocations: 19.94 kB / 450.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.5607, allocations: 49.92 kB / 450.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5607, allocations: 3.953 kB / 450.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002215/0.561, allocations: 107.4 kB / 450.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.561, allocations: 29.7 kB / 450.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.561, allocations: 0 / 450.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5611, allocations: 8.531 kB / 450.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.5613, allocations: 19.98 kB / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5613, allocations: 4.75 kB / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.5614, allocations: 15.98 kB / 450.9 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.5615, allocations: 0 / 450.9 MB, free: 9.992 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 7.948e-05/0.5615, allocations: 116.9 kB / 451 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.5616, allocations: 11.86 kB / 451 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.5619, allocations: 94.2 kB / 451.1 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5619, allocations: 4 kB / 451.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5619, allocations: 0 / 451.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5619, allocations: 1.031 kB / 451.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.5625, allocations: 370.4 kB / 451.5 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5625, allocations: 0 / 451.5 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.5627, allocations: 23.98 kB / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.5627, allocations: 0 / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5627, allocations: 4 kB / 451.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5628, allocations: 8 kB / 451.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5628, allocations: 0 / 451.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.563, allocations: 179.5 kB / 451.7 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.5631, allocations: 92.98 kB / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5631, allocations: 0 / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.5633, allocations: 17.02 kB / 451.8 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.5634, allocations: 8 kB / 451.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.5634, allocations: 4 kB / 451.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.5636, allocations: 139.2 kB / 452 MB, free: 8.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5636, allocations: 0 / 452 MB, free: 8.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.564, allocations: 24 kB / 452 MB, free: 8.812 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.001238/0.5652, allocations: 0.8912 MB / 452.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.5655, allocations: 111.4 kB / 453 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5655, allocations: 0 / 453 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.5656, allocations: 23.94 kB / 453 MB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.5659, allocations: 12 kB / 453 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.5666, allocations: 248.4 kB / 453.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5669, allocations: 0.7004 MB / 454 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/0.5671, allocations: 31.42 kB / 454 MB, free: 6.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5671, allocations: 4 kB / 454 MB, free: 6.77 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_Test30CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30FMU.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_Test30.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30CalcHelperMain.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_Test30_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu] Error 1