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.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.885e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4076, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5643, allocations: 80.72 MB / 445.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5646, allocations: 75.95 kB / 445.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01928/0.5839, allocations: 5.255 MB / 450.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.584, allocations: 0 / 450.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.31e-05/0.584, allocations: 4 kB / 450.7 MB, free: 10.45 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.000801/0.5848, allocations: 0.5616 MB / 451.2 MB, free: 9.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5849, allocations: 12.03 kB / 451.3 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.585, allocations: 34.56 kB / 451.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5851, allocations: 39.44 kB / 451.3 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.5857, allocations: 323.3 kB / 451.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.5858, allocations: 0 / 451.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.5858, allocations: 4.75 kB / 451.6 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5859, allocations: 46.56 kB / 451.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.586, allocations: 7.234 kB / 451.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.586, allocations: 0 / 451.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.586, allocations: 0 / 451.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.5861, allocations: 20 kB / 451.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.5868, allocations: 412.8 kB / 452.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.587, allocations: 30.53 kB / 452.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.587, allocations: 21.7 kB / 452.2 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5871, allocations: 0 / 452.2 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5871, allocations: 30.56 kB / 452.2 MB, free: 8.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.5871, allocations: 0 / 452.2 MB, free: 8.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002653/0.5874, allocations: 89.16 kB / 452.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.5874, allocations: 59.41 kB / 452.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.5894, allocations: 0.7576 MB / 453.1 MB, free: 7.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5894, allocations: 25.7 kB / 453.1 MB, free: 7.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.5896, allocations: 234.6 kB / 453.4 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.5897, allocations: 8.875 kB / 453.4 MB, free: 7.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.5897, allocations: 4 kB / 453.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.5898, allocations: 310.8 kB / 453.7 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.5899, allocations: 12 kB / 453.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.5899, allocations: 7.984 kB / 453.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.068e-05/0.59, allocations: 33.7 kB / 453.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.59, allocations: 0 / 453.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001852/0.5902, allocations: 94.69 kB / 453.8 MB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.5903, allocations: 37.7 kB / 453.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5903, allocations: 0 / 453.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5903, allocations: 0 / 453.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5905, allocations: 13.39 kB / 453.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5905, allocations: 0 / 453.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.5906, allocations: 8 kB / 453.9 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.5906, allocations: 0 / 453.9 MB, free: 7.02 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 (4): * Single equations (assignments): 3 * 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.285e-05/0.5907, allocations: 108.9 kB / 454 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5909, allocations: 43.48 kB / 454 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.5911, allocations: 101.1 kB / 454.1 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5911, allocations: 7.969 kB / 454.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5912, allocations: 0 / 454.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5912, allocations: 0 / 454.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.5916, allocations: 321.4 kB / 454.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5916, allocations: 0 / 454.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5918, allocations: 15.98 kB / 454.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5918, allocations: 4 kB / 454.5 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5918, allocations: 7.953 kB / 454.5 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5918, allocations: 3.938 kB / 454.5 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5918, allocations: 0 / 454.5 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.5921, allocations: 179 kB / 454.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.5924, allocations: 152.6 kB / 454.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.5924, allocations: 0 / 454.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5926, allocations: 19.94 kB / 454.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.5927, allocations: 4 kB / 454.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5927, allocations: 0 / 454.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.5938, allocations: 0.6263 MB / 455.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5938, allocations: 0 / 455.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.5943, allocations: 48 kB / 455.5 MB, free: 5.293 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 (3): * Single equations (assignments): 3 * 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.001132/0.5954, allocations: 0.8422 MB / 456.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.5956, allocations: 79.34 kB / 456.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5956, allocations: 0 / 456.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.5957, allocations: 12 kB / 456.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.596, allocations: 17.02 kB / 456.4 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.598, allocations: 0.8269 MB / 457.3 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.5986, allocations: 0.8301 MB / 458.1 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.5988, allocations: 115.6 kB / 458.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5989, allocations: 0 / 458.2 MB, free: 2.527 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_Test9CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9FMU.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_Test9.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.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_Test9_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu] Error 1