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.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004181, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3549, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002984/0.3579, allocations: 1.246 MB / 370.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.36, allocations: 0.8413 MB / 371.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.3601, allocations: 0 / 371.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.3603, allocations: 19.92 kB / 371.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.3606, allocations: 31.83 kB / 371.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3608, allocations: 23.98 kB / 371.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3609, allocations: 43.88 kB / 371.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3611, allocations: 8 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.3612, allocations: 23.92 kB / 371.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.3614, allocations: 23.91 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3614, allocations: 0 / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3616, allocations: 39.92 kB / 371.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.3616, allocations: 11.91 kB / 371.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.3617, allocations: 33.7 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3619, allocations: 59.91 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.362, allocations: 0 / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.362, allocations: 0 / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.362, allocations: 0 / 371.7 MB, free: 8.301 MB / 298.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.0007172/0.3627, allocations: 405.8 kB / 372.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.3628, allocations: 8.031 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.3629, allocations: 42.5 kB / 372.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.3629, allocations: 7.859 kB / 372.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3632, allocations: 179 kB / 372.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3632, allocations: 4 kB / 372.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3633, allocations: 7.938 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.3636, allocations: 83.31 kB / 372.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3637, allocations: 0 / 372.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3637, allocations: 3.984 kB / 372.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3637, allocations: 7.953 kB / 372.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.3641, allocations: 47.97 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.3647, allocations: 276.8 kB / 372.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3649, allocations: 54.48 kB / 372.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.365, allocations: 4 kB / 372.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.365, allocations: 34.52 kB / 372.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.365, allocations: 0 / 372.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.01376/0.3788, allocations: 237.4 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.379, allocations: 77.11 kB / 373.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.3793, allocations: 121.8 kB / 373.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.3794, allocations: 29.7 kB / 373.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.3796, allocations: 154.6 kB / 373.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.3797, allocations: 27.55 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.3797, allocations: 4 kB / 373.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.38, allocations: 314.8 kB / 373.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.3804, allocations: 43.97 kB / 373.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.3807, allocations: 57.75 kB / 373.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.3811, allocations: 77.7 kB / 373.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3811, allocations: 0 / 373.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007727/0.3819, allocations: 163.2 kB / 374.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.382, allocations: 35.73 kB / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.382, allocations: 0 / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.382, allocations: 0 / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.3823, allocations: 27.92 kB / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3823, allocations: 7.984 kB / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3825, allocations: 8 kB / 374.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.3826, allocations: 4 kB / 374.2 MB, free: 5.535 MB / 298.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 () * Number of clocked 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 0.0001767/0.3828, allocations: 117.8 kB / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.3829, allocations: 7.859 kB / 374.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008901/0.3838, allocations: 146.2 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3838, allocations: 4 kB / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3838, allocations: 0 / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3838, allocations: 4 kB / 374.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3852, allocations: 402.4 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3852, allocations: 4 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3855, allocations: 23.98 kB / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3855, allocations: 0 / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3856, allocations: 0 / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3856, allocations: 3.938 kB / 374.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3856, allocations: 4 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.3866, allocations: 223.4 kB / 375.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.3867, allocations: 85.06 kB / 375.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.3868, allocations: 7.984 kB / 375.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.387, allocations: 12 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.3871, allocations: 7.984 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3871, allocations: 0 / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3872, allocations: 103.2 kB / 375.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3873, allocations: 0 / 375.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.3879, allocations: 27.98 kB / 375.3 MB, free: 4.266 MB / 298.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 () * Number of clocked 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.002661/0.3906, allocations: 1.042 MB / 376.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000841/0.3914, allocations: 155.3 kB / 376.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3915, allocations: 0 / 376.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.3919, allocations: 55.97 kB / 376.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3923, allocations: 8 kB / 376.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3936, allocations: 428.2 kB / 377 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.394, allocations: 0.6887 MB / 377.7 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3942, allocations: 23.42 kB / 377.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3942, allocations: 0 / 377.7 MB, free: 1.848 MB / 298.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=5 -DSUNDIALS_MINOR_VERSION=4 -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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.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", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11.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_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11FMU.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_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o] Error 1