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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.365e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3964, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5495, allocations: 80.85 MB / 445.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5498, allocations: 75.95 kB / 445.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.5621, allocations: 2.771 MB / 448.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5622, allocations: 0 / 448.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5622, allocations: 4 kB / 448.3 MB, free: 12.8 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.0005089/0.5627, allocations: 400 kB / 448.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5628, allocations: 8.031 kB / 448.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.5629, allocations: 34.55 kB / 448.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.5629, allocations: 11.95 kB / 448.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.5632, allocations: 182.9 kB / 449 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5632, allocations: 8 kB / 449 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.5633, allocations: 0 / 449 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.5634, allocations: 50.44 kB / 449 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.5635, allocations: 0 / 449 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5635, allocations: 0 / 449 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5635, allocations: 3.953 kB / 449 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.5636, allocations: 12 kB / 449 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.5641, allocations: 284.8 kB / 449.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.5644, allocations: 47.59 kB / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.5644, allocations: 8.859 kB / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.5644, allocations: 0 / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.5645, allocations: 54.52 kB / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.5645, allocations: 0 / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005533/0.5651, allocations: 109.3 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.5651, allocations: 59.41 kB / 449.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.5653, allocations: 125.8 kB / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.5654, allocations: 25.7 kB / 449.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.5655, allocations: 162.6 kB / 449.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.5655, allocations: 19.64 kB / 449.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5655, allocations: 1.5 kB / 449.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5657, allocations: 318.8 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.5657, allocations: 12 kB / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.5658, allocations: 19.94 kB / 450.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.5659, allocations: 41.69 kB / 450.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5659, allocations: 0 / 450.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002128/0.5661, allocations: 95.39 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.5662, allocations: 37.59 kB / 450.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5662, allocations: 0 / 450.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.5662, allocations: 4 kB / 450.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.5664, allocations: 19.98 kB / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5664, allocations: 0 / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.5665, allocations: 11.98 kB / 450.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5665, allocations: 0 / 450.5 MB, free: 10.44 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.549e-05/0.5666, allocations: 108.9 kB / 450.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.5667, allocations: 7.906 kB / 450.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.5669, allocations: 85.66 kB / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5669, allocations: 0 / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.567, allocations: 0 / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.567, allocations: 4 kB / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.5675, allocations: 338.5 kB / 451 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5676, allocations: 4.828 kB / 451 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5677, allocations: 15.98 kB / 451 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5677, allocations: 0 / 451 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5677, allocations: 0 / 451 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5677, allocations: 0 / 451 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5678, allocations: 0 / 451 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.568, allocations: 168.3 kB / 451.2 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.5681, allocations: 92.95 kB / 451.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.5681, allocations: 4 kB / 451.3 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5682, allocations: 4.438 kB / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.5683, allocations: 11.92 kB / 451.3 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.5683, allocations: 0 / 451.3 MB, free: 9.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.5684, allocations: 109.1 kB / 451.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5685, allocations: 0 / 451.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.5688, allocations: 24 kB / 451.4 MB, free: 9.375 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.00128/0.5701, allocations: 0.8787 MB / 452.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.5703, allocations: 99.33 kB / 452.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5704, allocations: 0 / 452.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.5704, allocations: 20 kB / 452.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5707, allocations: 7.594 kB / 452.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.5714, allocations: 204.6 kB / 452.6 MB, free: 8.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.5718, allocations: 0.7004 MB / 453.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.5719, allocations: 23.42 kB / 453.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5719, allocations: 0 / 453.3 MB, free: 7.418 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_Test7CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7FMU.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_Test7.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.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_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu] Error 1