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.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.156e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3959, allocations: 54.86 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.5437, allocations: 80.85 MB / 445.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.544, allocations: 67.97 kB / 445.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.5564, allocations: 2.74 MB / 448.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.619e-06/0.5564, allocations: 4 kB / 448.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.5565, allocations: 0 / 448.3 MB, free: 12.83 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.0006133/0.5571, allocations: 404 kB / 448.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.5571, allocations: 8.031 kB / 448.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.5572, allocations: 39.3 kB / 448.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.5573, allocations: 3.953 kB / 448.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.5576, allocations: 187.8 kB / 448.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.5576, allocations: 0 / 448.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.5576, allocations: 8 kB / 448.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5578, allocations: 42.56 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5578, allocations: 0 / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5578, allocations: 0 / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5578, allocations: 9.359 kB / 449 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.5579, allocations: 12 kB / 449 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.5584, allocations: 276.8 kB / 449.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.5586, allocations: 34.58 kB / 449.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.5586, allocations: 12.86 kB / 449.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.5587, allocations: 4 kB / 449.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.5587, allocations: 42.59 kB / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.5587, allocations: 0 / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005213/0.5593, allocations: 104.2 kB / 449.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.5593, allocations: 51.41 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.5595, allocations: 129 kB / 449.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5595, allocations: 25.7 kB / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.5596, allocations: 170.5 kB / 449.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.5597, allocations: 19.64 kB / 449.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.5597, allocations: 0 / 449.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5598, allocations: 316 kB / 450.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.5599, allocations: 12 kB / 450.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.5599, allocations: 15.94 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.56, allocations: 41.69 kB / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.56, allocations: 0 / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001849/0.5602, allocations: 95.33 kB / 450.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.5603, allocations: 37.66 kB / 450.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5603, allocations: 0 / 450.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5603, allocations: 4.141 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5605, allocations: 15.98 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5605, allocations: 0 / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.5606, allocations: 7.984 kB / 450.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5606, allocations: 3.938 kB / 450.4 MB, free: 10.51 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.844e-05/0.5607, allocations: 112.9 kB / 450.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.5607, allocations: 7.906 kB / 450.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.561, allocations: 81.7 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.561, allocations: 4 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.561, allocations: 2.75 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.561, allocations: 0 / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.5615, allocations: 326.5 kB / 450.9 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5615, allocations: 3.953 kB / 450.9 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.5617, allocations: 16 kB / 450.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5617, allocations: 0 / 450.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5617, allocations: 3.984 kB / 450.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5617, allocations: 0 / 450.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5617, allocations: 0 / 450.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.5619, allocations: 159.5 kB / 451.1 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.562, allocations: 88.97 kB / 451.2 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.562, allocations: 3.938 kB / 451.2 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.5621, allocations: 8 kB / 451.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.5622, allocations: 11.98 kB / 451.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.5622, allocations: 0.875 kB / 451.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.5624, allocations: 109 kB / 451.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5624, allocations: 0 / 451.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.5627, allocations: 16 kB / 451.3 MB, free: 9.469 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.001181/0.5639, allocations: 0.8866 MB / 452.2 MB, free: 8.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.5641, allocations: 83.34 kB / 452.3 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5641, allocations: 0 / 452.3 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.5642, allocations: 16 kB / 452.3 MB, free: 8.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.5645, allocations: 11.98 kB / 452.3 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.5651, allocations: 184.6 kB / 452.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.5655, allocations: 0.7043 MB / 453.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.5656, allocations: 19.44 kB / 453.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5656, allocations: 0 / 453.2 MB, free: 7.539 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_Test8CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8FMU.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_Test8.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.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_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu] Error 1