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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.218e-05, allocations: 4 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4068, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.5563, allocations: 81.14 MB / 445.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5566, allocations: 75.95 kB / 445.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.5703, allocations: 3.328 MB / 449.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5704, allocations: 0 / 449.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5704, allocations: 4 kB / 449.2 MB, free: 11.99 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.000491/0.5709, allocations: 397.4 kB / 449.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.571, allocations: 12.03 kB / 449.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.571, allocations: 34.5 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.5711, allocations: 11.86 kB / 449.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.5713, allocations: 183.8 kB / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5713, allocations: 0 / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.5714, allocations: 8 kB / 449.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5715, allocations: 56.28 kB / 449.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5716, allocations: 0 / 449.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.5716, allocations: 8 kB / 449.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5716, allocations: 3.953 kB / 449.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.5717, allocations: 15.94 kB / 449.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.5722, allocations: 273 kB / 450.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.5724, allocations: 43.97 kB / 450.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.5725, allocations: 16.86 kB / 450.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5725, allocations: 0 / 450.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5725, allocations: 46.53 kB / 450.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5726, allocations: 0 / 450.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005187/0.5731, allocations: 105.6 kB / 450.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5732, allocations: 93.03 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.5733, allocations: 110.2 kB / 450.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.5733, allocations: 25.7 kB / 450.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.5734, allocations: 158.5 kB / 450.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.5735, allocations: 23.64 kB / 450.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.5735, allocations: 0 / 450.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5736, allocations: 314.8 kB / 451.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.5737, allocations: 12 kB / 451.1 MB, free: 9.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.5738, allocations: 37.7 kB / 451.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.5739, allocations: 53.56 kB / 451.2 MB, free: 9.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5739, allocations: 0 / 451.2 MB, free: 9.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002067/0.5741, allocations: 99.38 kB / 451.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.5741, allocations: 33.66 kB / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5742, allocations: 0 / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5742, allocations: 0 / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5743, allocations: 19.92 kB / 451.3 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.5743, allocations: 4.031 kB / 451.3 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.398e-05/0.5744, allocations: 12 kB / 451.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5745, allocations: 0 / 451.3 MB, free: 9.566 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.268e-05/0.5746, allocations: 107.4 kB / 451.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.5746, allocations: 3.984 kB / 451.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.5749, allocations: 89.62 kB / 451.5 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5749, allocations: 0 / 451.5 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5749, allocations: 3.984 kB / 451.5 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5749, allocations: 7.938 kB / 451.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.5754, allocations: 322.6 kB / 451.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5754, allocations: 384 / 451.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.5755, allocations: 19.94 kB / 451.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5755, allocations: 0 / 451.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5756, allocations: 12 kB / 451.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5756, allocations: 0 / 451.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5756, allocations: 0 / 451.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5758, allocations: 163.5 kB / 452 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.5759, allocations: 85.02 kB / 452.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.5759, allocations: 7.938 kB / 452.1 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.576, allocations: 4 kB / 452.1 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.5761, allocations: 8 kB / 452.1 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.5761, allocations: 3.984 kB / 452.2 MB, free: 8.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.5762, allocations: 96.59 kB / 452.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5762, allocations: 0 / 452.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.5766, allocations: 31.92 kB / 452.3 MB, free: 8.52 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.001394/0.578, allocations: 0.9575 MB / 453.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.5782, allocations: 95.39 kB / 453.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5783, allocations: 0 / 453.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.5783, allocations: 19.94 kB / 453.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.5786, allocations: 11.95 kB / 453.4 MB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.5792, allocations: 188.5 kB / 453.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.5795, allocations: 0.6887 MB / 454.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.5796, allocations: 23.42 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5796, allocations: 0 / 454.3 MB, free: 6.52 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_Test20CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:36:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v6.mat", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20FMU.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 and 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o] Error 1