Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.185e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3989, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5449, allocations: 80.9 MB / 445.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5452, allocations: 71.97 kB / 445.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.558, allocations: 3.13 MB / 448.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.558, allocations: 0 / 448.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.5581, allocations: 0 / 448.7 MB, free: 12.4 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.000484/0.5585, allocations: 412 kB / 449.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5586, allocations: 12.03 kB / 449.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.5587, allocations: 30.56 kB / 449.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.5587, allocations: 13.58 kB / 449.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.559, allocations: 195.5 kB / 449.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.559, allocations: 3.938 kB / 449.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.5591, allocations: 4 kB / 449.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5592, allocations: 45.69 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5592, allocations: 0 / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5592, allocations: 4 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.5593, allocations: 7.891 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.5593, allocations: 16 kB / 449.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.5598, allocations: 297.4 kB / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.5601, allocations: 42.5 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.5602, allocations: 16.86 kB / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.5602, allocations: 0 / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5602, allocations: 34.52 kB / 449.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.5603, allocations: 4 kB / 449.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005289/0.5608, allocations: 115.1 kB / 449.9 MB, free: 11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5608, allocations: 55.41 kB / 450 MB, free: 10.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.5611, allocations: 178.9 kB / 450.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.5612, allocations: 25.7 kB / 450.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.5612, allocations: 162.6 kB / 450.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.5613, allocations: 19.66 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.5613, allocations: 4 kB / 450.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5614, allocations: 310.8 kB / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.5615, allocations: 19.98 kB / 450.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.5616, allocations: 12 kB / 450.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.5616, allocations: 37.7 kB / 450.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5617, allocations: 8 kB / 450.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002151/0.5619, allocations: 103.2 kB / 450.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.5619, allocations: 33.66 kB / 450.9 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.562, allocations: 4 kB / 450.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.562, allocations: 0 / 450.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5622, allocations: 15.98 kB / 450.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5622, allocations: 0 / 450.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.5623, allocations: 4.562 kB / 450.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.5623, allocations: 8 kB / 450.9 MB, free: 9.953 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 7.648e-05/0.5624, allocations: 105 kB / 451 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.5624, allocations: 7.906 kB / 451 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.5627, allocations: 89.66 kB / 451.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5627, allocations: 0 / 451.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5627, allocations: 1.312 kB / 451.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5628, allocations: 3.984 kB / 451.1 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.5633, allocations: 352.1 kB / 451.5 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5633, allocations: 11.89 kB / 451.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.5634, allocations: 16 kB / 451.5 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5635, allocations: 3.984 kB / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5635, allocations: 0 / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5635, allocations: 4 kB / 451.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5635, allocations: 0 / 451.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.5637, allocations: 160.3 kB / 451.7 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.5638, allocations: 104.9 kB / 451.8 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.5639, allocations: 3.984 kB / 451.8 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.564, allocations: 8 kB / 451.8 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.564, allocations: 4 kB / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.5641, allocations: 4.375 kB / 451.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.5643, allocations: 151.1 kB / 451.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.285e-06/0.5643, allocations: 0 / 451.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.5646, allocations: 23.92 kB / 452 MB, free: 8.824 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.001237/0.5659, allocations: 0.8834 MB / 452.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.5661, allocations: 91.34 kB / 452.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5662, allocations: 0 / 452.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.5662, allocations: 19.98 kB / 452.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.5665, allocations: 8 kB / 453 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.5672, allocations: 240.4 kB / 453.2 MB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.5676, allocations: 0.7043 MB / 453.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.5677, allocations: 31.36 kB / 453.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5677, allocations: 0 / 453.9 MB, free: 6.824 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_CombiTable1D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15FMU.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_CombiTable1D_Test15.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.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_CombiTable1D_Test15_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15.fmu] Error 1