Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.459e-05/4.475e-05, allocations: 8 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4695, allocations: 54.85 MB / 364.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.6218, allocations: 80.89 MB / 445.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.6221, allocations: 67.97 kB / 445.6 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.6361, allocations: 3.109 MB / 448.7 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6362, allocations: 0 / 448.7 MB, free: 12.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.6362, allocations: 4 kB / 448.7 MB, free: 12.41 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.0005653/0.6368, allocations: 411.9 kB / 449.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6369, allocations: 8.031 kB / 449.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.6369, allocations: 42.55 kB / 449.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.637, allocations: 11.86 kB / 449.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.6373, allocations: 186 kB / 449.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6374, allocations: 7.938 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.6374, allocations: 0 / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.6376, allocations: 45.69 kB / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.6376, allocations: 0.875 kB / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6376, allocations: 0 / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6377, allocations: 11.95 kB / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.072e-05/0.6377, allocations: 12 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.6382, allocations: 284.8 kB / 449.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.6385, allocations: 43.34 kB / 449.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.6386, allocations: 12.86 kB / 449.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.6386, allocations: 4 kB / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6386, allocations: 34.52 kB / 449.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.906e-06/0.6386, allocations: 0 / 449.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005565/0.6392, allocations: 116.2 kB / 449.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.6393, allocations: 51.41 kB / 450 MB, free: 10.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.6396, allocations: 174.1 kB / 450.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.6396, allocations: 25.7 kB / 450.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.6397, allocations: 167.3 kB / 450.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.6398, allocations: 23.64 kB / 450.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6398, allocations: 0 / 450.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.64, allocations: 314.8 kB / 450.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.64, allocations: 12 kB / 450.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.6401, allocations: 12 kB / 450.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.861e-05/0.6402, allocations: 45.62 kB / 450.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6402, allocations: 0 / 450.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002005/0.6404, allocations: 88.09 kB / 450.8 MB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.6405, allocations: 45.64 kB / 450.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6405, allocations: 4 kB / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6405, allocations: 0 / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.6407, allocations: 12 kB / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.6407, allocations: 0 / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.6408, allocations: 7.984 kB / 450.9 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.6408, allocations: 4 kB / 450.9 MB, free: 10 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 8.584e-05/0.6409, allocations: 105.8 kB / 451 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.641, allocations: 8.047 kB / 451 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.6412, allocations: 93.62 kB / 451.1 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6412, allocations: 0 / 451.1 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6413, allocations: 6.75 kB / 451.1 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6413, allocations: 0 / 451.1 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.6418, allocations: 338.6 kB / 451.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6418, allocations: 7.891 kB / 451.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.642, allocations: 16 kB / 451.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.642, allocations: 1.406 kB / 451.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.642, allocations: 0 / 451.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.642, allocations: 3.984 kB / 451.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.642, allocations: 4 kB / 451.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.6422, allocations: 159.5 kB / 451.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.6423, allocations: 92.88 kB / 451.7 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.6424, allocations: 0 / 451.7 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6425, allocations: 12 kB / 451.7 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.6426, allocations: 7.984 kB / 451.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.6426, allocations: 4.875 kB / 451.7 MB, free: 9.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.6428, allocations: 143.1 kB / 451.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.228e-06/0.6428, allocations: 0 / 451.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.6431, allocations: 23.94 kB / 451.9 MB, free: 8.898 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.001284/0.6444, allocations: 0.8757 MB / 452.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.6447, allocations: 91.34 kB / 452.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6448, allocations: 0 / 452.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.6448, allocations: 16 kB / 452.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.6451, allocations: 11.98 kB / 452.9 MB, free: 7.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.6458, allocations: 220.4 kB / 453.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.6462, allocations: 0.7083 MB / 453.8 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.6463, allocations: 27.42 kB / 453.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6463, allocations: 0 / 453.8 MB, free: 6.926 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_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test15.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test15_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu] Error 1