Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test17.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004528, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3529, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002581/0.3556, allocations: 1.262 MB / 332.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3567, allocations: 0.6437 MB / 333.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.3568, allocations: 0 / 333.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3571, allocations: 17.52 kB / 333.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.3574, allocations: 26.59 kB / 333.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.681e-06/0.3574, allocations: 0 / 333.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3576, allocations: 28.44 kB / 333.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.3577, allocations: 6.422 kB / 333.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.3577, allocations: 10.92 kB / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3578, allocations: 16.33 kB / 333.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3579, allocations: 1.156 kB / 333.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.3579, allocations: 4.609 kB / 333.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.358, allocations: 14.12 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.358, allocations: 36.14 kB / 333.3 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3582, allocations: 40.78 kB / 333.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3582, allocations: 0 / 333.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3582, allocations: 0 / 333.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3582, allocations: 4 kB / 333.4 MB, free: 5.309 MB / 266.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.0004218/0.3587, allocations: 354 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.3587, allocations: 9.469 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.3588, allocations: 39.12 kB / 333.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.3588, allocations: 7.359 kB / 333.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.359, allocations: 180.5 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.359, allocations: 1.469 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.359, allocations: 1.5 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.3593, allocations: 128.4 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3593, allocations: 0 / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3593, allocations: 1.25 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.3594, allocations: 19.56 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3595, allocations: 45.58 kB / 334.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.3602, allocations: 0.8975 MB / 335.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.3603, allocations: 178.5 kB / 335.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3603, allocations: 75.28 kB / 335.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3604, allocations: 107.8 kB / 335.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.3604, allocations: 3.984 kB / 335.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 9.688e-05/0.3605, allocations: 34.75 kB / 335.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3606, allocations: 131.4 kB / 335.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3608, allocations: 193.8 kB / 335.8 MB, free: 2.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.3608, allocations: 25.7 kB / 335.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.3609, allocations: 220.1 kB / 336 MB, free: 2.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.361, allocations: 5.859 kB / 336 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.361, allocations: 4 kB / 336 MB, free: 2.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.361, allocations: 324.6 kB / 336.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/0.3612, allocations: 31.5 kB / 336.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3613, allocations: 151.8 kB / 336.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3615, allocations: 69.58 kB / 336.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3615, allocations: 1.5 kB / 336.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004123/0.3619, allocations: 194.1 kB / 336.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3619, allocations: 5.781 kB / 336.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.362, allocations: 4.594 kB / 336.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.362, allocations: 7.25 kB / 336.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3622, allocations: 37.98 kB / 336.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.3622, allocations: 14.09 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3624, allocations: 25.05 kB / 336.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3624, allocations: 13.59 kB / 336.9 MB, free: 2.09 MB / 266.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.0001175/0.3625, allocations: 217.3 kB / 337.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.3626, allocations: 113.6 kB / 337.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.3627, allocations: 116.1 kB / 337.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.3627, allocations: 186.2 kB / 337.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-05/0.3627, allocations: 178.3 kB / 337.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/0.3628, allocations: 190 kB / 337.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.363, allocations: 419.2 kB / 338.3 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.363, allocations: 102.7 kB / 338.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.3631, allocations: 110.8 kB / 338.5 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.28e-05/0.3631, allocations: 178.2 kB / 338.6 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.3632, allocations: 186.1 kB / 338.8 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001101/0.3633, allocations: 177 kB / 339 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.887e-05/0.3634, allocations: 182.2 kB / 339.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3636, allocations: 316.4 kB / 339.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3637, allocations: 190.6 kB / 339.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.3638, allocations: 182.9 kB / 339.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3639, allocations: 102.8 kB / 339.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.364, allocations: 186.2 kB / 340.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.3641, allocations: 105.6 kB / 340.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3643, allocations: 132 kB / 340.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3643, allocations: 0 / 340.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.3647, allocations: 15.53 kB / 340.4 MB, free: 14.48 MB / 282.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.0008761/0.3656, allocations: 0.8911 MB / 341.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3658, allocations: 73.08 kB / 341.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3659, allocations: 1.281 kB / 341.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.3659, allocations: 192 / 341.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3663, allocations: 0.5261 MB / 341.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3678, allocations: 0.8343 MB / 342.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3682, allocations: 0.7012 MB / 343.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3684, allocations: 27.2 kB / 343.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3684, allocations: 0 / 343.4 MB, free: 11.63 MB / 282.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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1