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.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.711/2.711, allocations: 235 MB / 248 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.608e-05/4.612e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4622, allocations: 54.85 MB / 364.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.6324, allocations: 80.88 MB / 445.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6327, allocations: 68.97 kB / 445.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01277/0.6455, allocations: 2.922 MB / 448.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6456, allocations: 0 / 448.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.6456, allocations: 0 / 448.5 MB, free: 12.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000564/0.6462, allocations: 415.9 kB / 448.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6462, allocations: 16.03 kB / 448.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.6463, allocations: 37.8 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.6464, allocations: 12.77 kB / 449 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.6466, allocations: 186.9 kB / 449.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.6467, allocations: 1.312 kB / 449.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.6467, allocations: 8 kB / 449.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.6469, allocations: 53.61 kB / 449.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6469, allocations: 3.984 kB / 449.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.6469, allocations: 7.953 kB / 449.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.6469, allocations: 0 / 449.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.647, allocations: 20 kB / 449.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.6475, allocations: 284.9 kB / 449.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.6476, allocations: 38.52 kB / 449.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.6477, allocations: 20.81 kB / 449.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.6477, allocations: 0 / 449.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6478, allocations: 38.56 kB / 449.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.6478, allocations: 0 / 449.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006792/0.6485, allocations: 145.3 kB / 449.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.6485, allocations: 52.06 kB / 449.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.6488, allocations: 152.4 kB / 450 MB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.6488, allocations: 29.7 kB / 450 MB, free: 10.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.6489, allocations: 162.5 kB / 450.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.649, allocations: 19.66 kB / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.649, allocations: 0 / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6491, allocations: 326.8 kB / 450.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.149e-05/0.6492, allocations: 13.22 kB / 450.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.6493, allocations: 20 kB / 450.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.6493, allocations: 45.77 kB / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6494, allocations: 0 / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002329/0.6496, allocations: 111.3 kB / 450.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.6497, allocations: 37.69 kB / 450.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6497, allocations: 0 / 450.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.6497, allocations: 0 / 450.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.65, allocations: 23.98 kB / 450.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.65, allocations: 0 / 450.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.6501, allocations: 15.98 kB / 450.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.6501, allocations: 8 kB / 450.8 MB, free: 10.07 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 (8): * Single equations (assignments): 7 * 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 9.43e-05/0.6502, allocations: 104.9 kB / 450.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.6503, allocations: 11.84 kB / 450.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.6506, allocations: 98.14 kB / 451 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6506, allocations: 0 / 451 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6506, allocations: 0 / 451 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6507, allocations: 0 / 451 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.6512, allocations: 362.9 kB / 451.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6512, allocations: 0 / 451.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.6514, allocations: 27.92 kB / 451.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.6515, allocations: 3.984 kB / 451.4 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.6515, allocations: 4 kB / 451.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6515, allocations: 0 / 451.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6515, allocations: 4 kB / 451.4 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.6518, allocations: 175.5 kB / 451.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.6519, allocations: 89.02 kB / 451.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.6519, allocations: 4 kB / 451.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.6521, allocations: 11.98 kB / 451.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.6521, allocations: 11.97 kB / 451.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.6521, allocations: 0 / 451.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.6523, allocations: 127.3 kB / 451.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.264e-06/0.6523, allocations: 4 kB / 451.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.6527, allocations: 23.94 kB / 451.8 MB, free: 8.922 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 (7): * Single equations (assignments): 7 * 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.001307/0.654, allocations: 0.8918 MB / 452.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.6543, allocations: 103.3 kB / 452.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6543, allocations: 0 / 452.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.6544, allocations: 24 kB / 452.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.6547, allocations: 12 kB / 452.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.6554, allocations: 224.3 kB / 453 MB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6557, allocations: 0.6965 MB / 453.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.6558, allocations: 27.44 kB / 453.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6559, allocations: 0 / 453.8 MB, free: 6.93 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_Test26CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26FMU.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_Test26.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26CalcHelperMain.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_Test26_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26.fmu] Error 1