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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.592e-05, allocations: 4 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 54.85 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5493, allocations: 80.9 MB / 445.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5496, allocations: 72.48 kB / 445.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.5634, allocations: 3.15 MB / 448.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5634, allocations: 0 / 448.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.5634, allocations: 4 kB / 448.8 MB, free: 12.4 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.0005149/0.564, allocations: 416.5 kB / 449.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.564, allocations: 12.78 kB / 449.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.5641, allocations: 30.56 kB / 449.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.5641, allocations: 11.86 kB / 449.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.5644, allocations: 206.8 kB / 449.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5645, allocations: 4 kB / 449.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5645, allocations: 6.625 kB / 449.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5647, allocations: 45.67 kB / 449.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5647, allocations: 0 / 449.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5647, allocations: 0.8438 kB / 449.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5647, allocations: 7.953 kB / 449.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.5648, allocations: 12 kB / 449.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.5653, allocations: 292.8 kB / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.5656, allocations: 38.56 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.5656, allocations: 8.859 kB / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.5657, allocations: 8 kB / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5657, allocations: 34.52 kB / 449.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.325e-06/0.5657, allocations: 4 kB / 449.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005528/0.5663, allocations: 114.7 kB / 450 MB, free: 10.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5663, allocations: 55.39 kB / 450 MB, free: 10.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.5666, allocations: 189.4 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.5667, allocations: 25.7 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.5668, allocations: 162.6 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.5668, allocations: 15.75 kB / 450.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.5668, allocations: 0 / 450.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.567, allocations: 318.8 kB / 450.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.567, allocations: 11.94 kB / 450.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.5671, allocations: 15.98 kB / 450.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.5672, allocations: 41.7 kB / 450.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5672, allocations: 3.938 kB / 450.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001913/0.5674, allocations: 88.27 kB / 450.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.5674, allocations: 37.66 kB / 450.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.5675, allocations: 0 / 450.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5675, allocations: 3.938 kB / 450.9 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.5676, allocations: 23.98 kB / 451 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.5677, allocations: 0 / 451 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.5677, allocations: 4 kB / 451 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.5678, allocations: 4 kB / 451 MB, free: 9.953 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.683e-05/0.5679, allocations: 104.9 kB / 451.1 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.5679, allocations: 11.81 kB / 451.1 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.5682, allocations: 89.95 kB / 451.2 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5682, allocations: 8 kB / 451.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5682, allocations: 0 / 451.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5682, allocations: 0 / 451.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.5688, allocations: 346.5 kB / 451.5 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5688, allocations: 0 / 451.5 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.5689, allocations: 19.94 kB / 451.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.5689, allocations: 0 / 451.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.569, allocations: 0 / 451.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.569, allocations: 8 kB / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.569, allocations: 0 / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.5692, allocations: 159.5 kB / 451.7 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.5693, allocations: 96.84 kB / 451.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.5693, allocations: 11.95 kB / 451.8 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5695, allocations: 4 kB / 451.8 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.5695, allocations: 7.984 kB / 451.8 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5695, allocations: 4 kB / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002182/0.5698, allocations: 160.1 kB / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5698, allocations: 0 / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.5701, allocations: 16 kB / 452 MB, free: 8.828 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.001219/0.5713, allocations: 0.8689 MB / 452.9 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.5716, allocations: 87.34 kB / 452.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5716, allocations: 4 kB / 452.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.5717, allocations: 16 kB / 453 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.572, allocations: 15.94 kB / 453 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.5728, allocations: 248.5 kB / 453.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5731, allocations: 0.7121 MB / 453.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.5732, allocations: 27.42 kB / 454 MB, free: 6.828 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5733, allocations: 0 / 454 MB, free: 6.828 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_Test5CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5FMU.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_Test5.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.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_Test5_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu] Error 1