Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.382e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4084, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5599, allocations: 81.13 MB / 445.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5603, allocations: 71.95 kB / 445.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.5742, allocations: 3.3 MB / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5743, allocations: 0 / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.5743, allocations: 0 / 449.1 MB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005281/0.5748, allocations: 404 kB / 449.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5749, allocations: 12.03 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.5749, allocations: 38.5 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.575, allocations: 7.906 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.5752, allocations: 191.7 kB / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5753, allocations: 0 / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.5753, allocations: 4 kB / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5755, allocations: 63.39 kB / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5755, allocations: 0 / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.5755, allocations: 15.17 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5756, allocations: 0.75 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.5757, allocations: 16 kB / 449.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.5761, allocations: 280.9 kB / 450.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5762, allocations: 34.53 kB / 450.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.5763, allocations: 20.8 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.5763, allocations: 0 / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5764, allocations: 34.56 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.5764, allocations: 4 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006863/0.5771, allocations: 146.5 kB / 450.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.5771, allocations: 77.11 kB / 450.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.5773, allocations: 118 kB / 450.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5773, allocations: 25.7 kB / 450.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.5774, allocations: 158.6 kB / 450.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.5774, allocations: 19.66 kB / 450.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/0.5775, allocations: 4 kB / 450.8 MB, free: 10.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5776, allocations: 314.8 kB / 451.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.5777, allocations: 20 kB / 451.1 MB, free: 9.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.5778, allocations: 29.72 kB / 451.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.5779, allocations: 45.69 kB / 451.2 MB, free: 9.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5779, allocations: 5.359 kB / 451.2 MB, free: 9.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.5781, allocations: 115.3 kB / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.5782, allocations: 33.7 kB / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5782, allocations: 0 / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5782, allocations: 0 / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.5784, allocations: 23.92 kB / 451.3 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5785, allocations: 4 kB / 451.3 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5786, allocations: 11.98 kB / 451.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.5786, allocations: 12 kB / 451.4 MB, free: 9.512 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 (8): * Single equations (assignments): 7 * 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.15e-05/0.5787, allocations: 101 kB / 451.5 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.5788, allocations: 11.86 kB / 451.5 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.579, allocations: 90.23 kB / 451.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5791, allocations: 4 kB / 451.6 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5791, allocations: 0 / 451.6 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.5791, allocations: 0 / 451.6 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.5796, allocations: 354.8 kB / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5796, allocations: 4.141 kB / 451.9 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5798, allocations: 23.92 kB / 451.9 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.5798, allocations: 3.984 kB / 451.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.5799, allocations: 4 kB / 451.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5799, allocations: 0 / 451.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5799, allocations: 3.984 kB / 451.9 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5801, allocations: 179.5 kB / 452.1 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.5802, allocations: 85.02 kB / 452.2 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.5802, allocations: 1.188 kB / 452.2 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.5804, allocations: 15.98 kB / 452.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.5805, allocations: 7.984 kB / 452.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.5805, allocations: 4 kB / 452.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.5806, allocations: 92.92 kB / 452.3 MB, free: 8.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5806, allocations: 4 kB / 452.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.581, allocations: 31.98 kB / 452.4 MB, free: 8.406 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 (7): * Single equations (assignments): 7 * 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.001604/0.5826, allocations: 0.9708 MB / 453.3 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.583, allocations: 103.3 kB / 453.4 MB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.583, allocations: 4 kB / 453.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.5831, allocations: 24 kB / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5834, allocations: 11.92 kB / 453.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.5841, allocations: 196 kB / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5844, allocations: 0.6926 MB / 454.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5845, allocations: 27.42 kB / 454.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5845, allocations: 0 / 454.4 MB, free: 6.363 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_CombiTable2D_Test10CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.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_v4.mat", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.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_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:293:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10.cpp:756:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.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_CombiTable2D_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o] Error 1