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.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 235 MB / 248 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.469e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4138, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.567, allocations: 80.85 MB / 445.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5673, allocations: 67.97 kB / 445.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.5798, allocations: 2.788 MB / 448.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5799, allocations: 0 / 448.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5799, allocations: 0 / 448.3 MB, free: 12.84 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.0005256/0.5804, allocations: 400.6 kB / 448.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5805, allocations: 13.19 kB / 448.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.5805, allocations: 38.5 kB / 448.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.5806, allocations: 11.86 kB / 448.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.5809, allocations: 179 kB / 449 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5809, allocations: 4 kB / 449 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.581, allocations: 4 kB / 449 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5811, allocations: 42.56 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5812, allocations: 4 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5812, allocations: 0 / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5812, allocations: 3.953 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.5813, allocations: 19.98 kB / 449 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5817, allocations: 272.8 kB / 449.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.582, allocations: 38.56 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.582, allocations: 18.08 kB / 449.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5821, allocations: 0 / 449.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5821, allocations: 38.52 kB / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.258e-06/0.5821, allocations: 0 / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005262/0.5827, allocations: 101.5 kB / 449.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5827, allocations: 59.39 kB / 449.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.583, allocations: 142 kB / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.583, allocations: 25.7 kB / 449.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.5831, allocations: 166.5 kB / 449.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.5832, allocations: 15.78 kB / 449.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.5832, allocations: 7.938 kB / 449.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5833, allocations: 314.8 kB / 450.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.5834, allocations: 12 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.5835, allocations: 8.562 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.5835, allocations: 41.69 kB / 450.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5836, allocations: 4 kB / 450.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000201/0.5838, allocations: 87.41 kB / 450.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.5838, allocations: 41.64 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5839, allocations: 3.938 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5839, allocations: 1.031 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.584, allocations: 12 kB / 450.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5841, allocations: 3.984 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.5841, allocations: 7.984 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.5842, allocations: 8 kB / 450.4 MB, free: 10.49 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 8.442e-05/0.5843, allocations: 108.9 kB / 450.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.5843, allocations: 7.906 kB / 450.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.5846, allocations: 81.62 kB / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5846, allocations: 0 / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5846, allocations: 0 / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5846, allocations: 0 / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.5852, allocations: 334.5 kB / 451 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5852, allocations: 4 kB / 451 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5853, allocations: 16.33 kB / 451 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5853, allocations: 144 / 451 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.5854, allocations: 7.984 kB / 451 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5854, allocations: 4 kB / 451 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5854, allocations: 3.984 kB / 451 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.5856, allocations: 163.4 kB / 451.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.5857, allocations: 85.11 kB / 451.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.5857, allocations: 3.953 kB / 451.2 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5859, allocations: 8 kB / 451.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.5859, allocations: 3.984 kB / 451.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.586, allocations: 4 kB / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.5861, allocations: 120.6 kB / 451.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5861, allocations: 0 / 451.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003453/0.5865, allocations: 23.94 kB / 451.4 MB, free: 9.422 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.001386/0.5879, allocations: 0.8744 MB / 452.3 MB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.5882, allocations: 79.41 kB / 452.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5882, allocations: 0 / 452.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.5883, allocations: 23.98 kB / 452.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.5886, allocations: 7.953 kB / 452.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.5894, allocations: 207.9 kB / 452.6 MB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.5897, allocations: 0.6965 MB / 453.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.5898, allocations: 19.44 kB / 453.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5898, allocations: 0 / 453.3 MB, free: 7.492 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12FMU.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_Test12.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.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_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu] Error 1