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.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.077e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3797, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5278, allocations: 81 MB / 445.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5281, allocations: 69.56 kB / 445.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.5439, allocations: 3.142 MB / 448.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.544, allocations: 0 / 448.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.544, allocations: 4 kB / 448.8 MB, free: 12.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006411/0.5447, allocations: 408 kB / 449.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.5447, allocations: 8.031 kB / 449.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.5448, allocations: 30.56 kB / 449.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.5449, allocations: 12.73 kB / 449.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.5452, allocations: 187 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.5453, allocations: 8 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.5453, allocations: 7.906 kB / 449.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.5456, allocations: 72.81 kB / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5456, allocations: 0 / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5456, allocations: 0 / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5457, allocations: 7.938 kB / 449.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.5458, allocations: 31.94 kB / 449.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.5467, allocations: 387.8 kB / 450 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.5472, allocations: 89.16 kB / 450.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.5473, allocations: 21.72 kB / 450.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.5474, allocations: 15.95 kB / 450.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.5474, allocations: 34.5 kB / 450.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.5474, allocations: 0 / 450.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001103/0.5486, allocations: 182 kB / 450.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.5487, allocations: 81.11 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.5489, allocations: 134.5 kB / 450.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.549, allocations: 37.7 kB / 450.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5491, allocations: 158.5 kB / 450.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.5492, allocations: 35.45 kB / 450.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.5492, allocations: 0 / 450.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5494, allocations: 320.1 kB / 451.1 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.5495, allocations: 27.98 kB / 451.1 MB, free: 9.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.5497, allocations: 24 kB / 451.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.5498, allocations: 54.45 kB / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5499, allocations: 0 / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.005002/0.5549, allocations: 136.2 kB / 451.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.555, allocations: 33.7 kB / 451.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.555, allocations: 0 / 451.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.555, allocations: 3.984 kB / 451.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.5553, allocations: 27.92 kB / 451.4 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5553, allocations: 0 / 451.4 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.5555, allocations: 11.98 kB / 451.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.5555, allocations: 4 kB / 451.4 MB, free: 9.484 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 (11): * Single equations (assignments): 10 * 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 0.0001142/0.5556, allocations: 113.6 kB / 451.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5558, allocations: 11.86 kB / 451.5 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.5563, allocations: 125.7 kB / 451.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5563, allocations: 0 / 451.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5563, allocations: 0 / 451.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5563, allocations: 6.875 kB / 451.6 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.5575, allocations: 494.5 kB / 452.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5575, allocations: 1.219 kB / 452.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.5577, allocations: 27.92 kB / 452.1 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5578, allocations: 0 / 452.1 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.5578, allocations: 8 kB / 452.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5578, allocations: 0 / 452.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5578, allocations: 0 / 452.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.5618, allocations: 306.9 kB / 452.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5619, allocations: 93.09 kB / 452.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.562, allocations: 3.938 kB / 452.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.5623, allocations: 8 kB / 452.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.5624, allocations: 15.94 kB / 452.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.5624, allocations: 4 kB / 452.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.5626, allocations: 109.9 kB / 452.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5626, allocations: 0 / 452.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007177/0.5634, allocations: 31.88 kB / 452.7 MB, free: 8.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001954/0.5653, allocations: 1.148 MB / 453.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.5658, allocations: 135.3 kB / 454 MB, free: 6.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5658, allocations: 0 / 454 MB, free: 6.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.566, allocations: 35.94 kB / 454 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.5665, allocations: 11.98 kB / 454 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5677, allocations: 238.3 kB / 454.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.5682, allocations: 0.7043 MB / 455 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5683, allocations: 31.36 kB / 455 MB, free: 5.688 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5683, allocations: 0 / 455 MB, free: 5.688 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_Test29CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29FMU.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_Test29.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29CalcHelperMain.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_Test29_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu] Error 1