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.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.218/2.218, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004205, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.337, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.003115/0.3402, allocations: 1.277 MB / 370.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00957/0.3498, allocations: 0.6446 MB / 371.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.3498, allocations: 0 / 371.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.3501, allocations: 19.86 kB / 371.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.3503, allocations: 23.97 kB / 371.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.464e-06/0.3504, allocations: 0 / 371.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3505, allocations: 27.89 kB / 371.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.3506, allocations: 0 / 371.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.3506, allocations: 11.98 kB / 371.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.3508, allocations: 15.94 kB / 371.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3508, allocations: 4 kB / 371.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.3509, allocations: 7.938 kB / 371.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.3509, allocations: 15.92 kB / 371.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.351, allocations: 33.64 kB / 371.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3512, allocations: 47.92 kB / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3512, allocations: 0 / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3512, allocations: 0 / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3512, allocations: 0 / 371.4 MB, free: 8.574 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005001/0.3517, allocations: 356.1 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3518, allocations: 12.03 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.3519, allocations: 34.56 kB / 371.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3519, allocations: 11.86 kB / 371.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3521, allocations: 182.9 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3522, allocations: 4 kB / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3522, allocations: 0 / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.3525, allocations: 118.8 kB / 372.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3525, allocations: 7.938 kB / 372.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3525, allocations: 3.953 kB / 372.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/0.3526, allocations: 23.97 kB / 372.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3528, allocations: 39.91 kB / 372.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.3577, allocations: 0.8983 MB / 373.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3578, allocations: 169.1 kB / 373.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.3578, allocations: 75.28 kB / 373.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.3579, allocations: 113.9 kB / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.3579, allocations: 0 / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.3581, allocations: 37.56 kB / 373.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.3581, allocations: 130.7 kB / 373.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3585, allocations: 190 kB / 373.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3585, allocations: 25.7 kB / 373.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3587, allocations: 217.5 kB / 374 MB, free: 5.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.3587, allocations: 8 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.3587, allocations: 4 kB / 374 MB, free: 5.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3589, allocations: 322.8 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.359, allocations: 27.98 kB / 374.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3592, allocations: 157.1 kB / 374.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3594, allocations: 63.92 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3595, allocations: 4 kB / 374.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005357/0.36, allocations: 201.6 kB / 374.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.36, allocations: 8.062 kB / 374.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3601, allocations: 8 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3601, allocations: 4 kB / 374.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3604, allocations: 39.92 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3604, allocations: 4 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3606, allocations: 23.75 kB / 374.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.3606, allocations: 12 kB / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001907/0.3608, allocations: 213 kB / 375.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3609, allocations: 124.8 kB / 375.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.361, allocations: 120.6 kB / 375.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.025e-05/0.3611, allocations: 184.3 kB / 375.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.578e-05/0.3612, allocations: 180.2 kB / 375.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004255/0.3655, allocations: 176.3 kB / 375.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.366, allocations: 425.1 kB / 376.3 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-05/0.3662, allocations: 105 kB / 376.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.3663, allocations: 109 kB / 376.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.3664, allocations: 192.1 kB / 376.7 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.3666, allocations: 176.3 kB / 376.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001315/0.3667, allocations: 180.2 kB / 377 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001498/0.3669, allocations: 184.2 kB / 377.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3672, allocations: 315.7 kB / 377.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3674, allocations: 186 kB / 377.7 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.3675, allocations: 188.2 kB / 377.9 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3677, allocations: 101 kB / 378 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.3679, allocations: 196.2 kB / 378.2 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.368, allocations: 105 kB / 378.3 MB, free: 1.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3682, allocations: 127.2 kB / 378.4 MB, free: 1.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3682, allocations: 3.938 kB / 378.4 MB, free: 1.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005576/0.3688, allocations: 16 kB / 378.4 MB, free: 1.016 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 (0): * Single equations (assignments): 0 * 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.004954/0.3737, allocations: 0.905 MB / 379.3 MB, free: 128 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.374, allocations: 75.78 kB / 379.4 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3741, allocations: 1.25 kB / 379.4 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.3741, allocations: 0 / 379.4 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.3746, allocations: 0.534 MB / 379.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3764, allocations: 0.8156 MB / 380.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3768, allocations: 0.7047 MB / 381.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3769, allocations: 27.42 kB / 381.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3769, allocations: 0 / 381.5 MB, free: 13.82 MB / 314.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_Test17CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:374:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp2); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.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 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1