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.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.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 235 MB / 248.1 MB, free: 14.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.594e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3917, allocations: 54.84 MB / 364.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5365, allocations: 80.9 MB / 445.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5369, allocations: 71.97 kB / 445.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.5498, allocations: 3.12 MB / 448.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5499, allocations: 0 / 448.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.5499, allocations: 4 kB / 448.7 MB, free: 12.34 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.0004918/0.5504, allocations: 412.5 kB / 449.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.5505, allocations: 8.031 kB / 449.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.5505, allocations: 36.98 kB / 449.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.5506, allocations: 11.86 kB / 449.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.5509, allocations: 192.9 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.5509, allocations: 4 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.5509, allocations: 3.938 kB / 449.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.5511, allocations: 45.69 kB / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5511, allocations: 0 / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5511, allocations: 3.984 kB / 449.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5511, allocations: 7.953 kB / 449.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/0.5512, allocations: 15.98 kB / 449.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.5517, allocations: 292.9 kB / 449.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.552, allocations: 42.5 kB / 449.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.552, allocations: 12.86 kB / 449.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.552, allocations: 7.984 kB / 449.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5521, allocations: 34.52 kB / 449.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5521, allocations: 4 kB / 449.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005191/0.5526, allocations: 121.3 kB / 449.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5527, allocations: 52.16 kB / 450 MB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.5529, allocations: 178.9 kB / 450.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.553, allocations: 25.7 kB / 450.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.5531, allocations: 158.6 kB / 450.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.5531, allocations: 19.75 kB / 450.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.5531, allocations: 4 kB / 450.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5532, allocations: 314.8 kB / 450.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.5533, allocations: 16 kB / 450.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.5534, allocations: 17.16 kB / 450.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.5535, allocations: 46.5 kB / 450.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5535, allocations: 0 / 450.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001938/0.5537, allocations: 99.23 kB / 450.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.5537, allocations: 37.66 kB / 450.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5538, allocations: 0 / 450.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5538, allocations: 256 / 450.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.5539, allocations: 19.98 kB / 450.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.554, allocations: 4 kB / 450.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.554, allocations: 4 kB / 450.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5541, allocations: 8 kB / 450.9 MB, free: 9.883 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.519e-05/0.5542, allocations: 105 kB / 451 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.5542, allocations: 7.906 kB / 451 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.5545, allocations: 101.6 kB / 451.1 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5545, allocations: 4 kB / 451.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5545, allocations: 0 / 451.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5545, allocations: 0 / 451.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.555, allocations: 342.6 kB / 451.5 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.555, allocations: 0 / 451.5 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5552, allocations: 27.88 kB / 451.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5552, allocations: 4 kB / 451.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.5552, allocations: 0 / 451.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5552, allocations: 4 kB / 451.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5552, allocations: 0 / 451.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.5555, allocations: 163.5 kB / 451.7 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.5555, allocations: 89 kB / 451.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.5556, allocations: 3.953 kB / 451.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5557, allocations: 12 kB / 451.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.5558, allocations: 7.984 kB / 451.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.5558, allocations: 4 kB / 451.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.556, allocations: 147.1 kB / 451.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.556, allocations: 0 / 451.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.5563, allocations: 20 kB / 451.9 MB, free: 8.762 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.001168/0.5575, allocations: 0.8802 MB / 452.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.5577, allocations: 95.33 kB / 452.9 MB, free: 7.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5577, allocations: 4 kB / 452.9 MB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.5578, allocations: 20 kB / 452.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5581, allocations: 7.953 kB / 453 MB, free: 7.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.5588, allocations: 236.4 kB / 453.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5591, allocations: 0.7082 MB / 453.9 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.5592, allocations: 23.44 kB / 453.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5592, allocations: 4 kB / 453.9 MB, free: 6.762 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_Test26CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test26.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test26_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test26.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test26.fmu] Error 1