Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.09/2.09, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 19.92 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3531, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002202/0.3553, allocations: 1.21 MB / 332.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3568, allocations: 0.8153 MB / 333.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.3569, allocations: 0 / 333.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3572, allocations: 22.05 kB / 333.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3574, allocations: 23.09 kB / 333.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.3576, allocations: 34.28 kB / 333.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.3578, allocations: 39.81 kB / 333.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3579, allocations: 14.61 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.358, allocations: 21.48 kB / 333.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.3582, allocations: 21.41 kB / 333.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3582, allocations: 1.219 kB / 333.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3584, allocations: 31.27 kB / 333.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.3584, allocations: 12.84 kB / 333.5 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3585, allocations: 31.14 kB / 333.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3587, allocations: 58.73 kB / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3587, allocations: 0 / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3587, allocations: 1.438 kB / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3587, allocations: 0 / 333.6 MB, free: 5.184 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005372/0.3593, allocations: 393.1 kB / 334 MB, free: 4.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3593, allocations: 9.75 kB / 334 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.3594, allocations: 36.48 kB / 334 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.3594, allocations: 7.047 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3596, allocations: 182.3 kB / 334.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3596, allocations: 5.188 kB / 334.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3597, allocations: 2.078 kB / 334.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3599, allocations: 70.97 kB / 334.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3599, allocations: 1.25 kB / 334.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3599, allocations: 4.688 kB / 334.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3599, allocations: 1.344 kB / 334.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3601, allocations: 24.77 kB / 334.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.3605, allocations: 277.8 kB / 334.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.3608, allocations: 42.5 kB / 334.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3608, allocations: 4.5 kB / 334.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3608, allocations: 32.89 kB / 334.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 3.196e-06/0.3609, allocations: 3.984 kB / 334.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008435/0.3617, allocations: 155.3 kB / 334.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3618, allocations: 78.39 kB / 334.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3619, allocations: 134.4 kB / 335 MB, free: 3.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.362, allocations: 25.7 kB / 335.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.362, allocations: 157.1 kB / 335.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3621, allocations: 20.3 kB / 335.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.3621, allocations: 0 / 335.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.3621, allocations: 312.7 kB / 335.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3623, allocations: 22.55 kB / 335.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3624, allocations: 46.27 kB / 335.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3626, allocations: 55.03 kB / 335.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3626, allocations: 0 / 335.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003484/0.363, allocations: 123 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.3631, allocations: 34.67 kB / 335.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3631, allocations: 9.078 kB / 335.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3631, allocations: 0.8906 kB / 335.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3632, allocations: 14.95 kB / 335.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3632, allocations: 0.7031 kB / 335.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.3633, allocations: 14.3 kB / 335.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3634, allocations: 3.328 kB / 335.9 MB, free: 3.09 MB / 266.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 (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 9.478e-05/0.3635, allocations: 114.2 kB / 336 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3635, allocations: 10.28 kB / 336 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.3639, allocations: 97.08 kB / 336.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3639, allocations: 5.656 kB / 336.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.364, allocations: 0.7031 kB / 336.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.364, allocations: 0 / 336.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.3645, allocations: 347.9 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3646, allocations: 5.031 kB / 336.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3647, allocations: 18.59 kB / 336.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3647, allocations: 0 / 336.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.3647, allocations: 1.094 kB / 336.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3647, allocations: 4.594 kB / 336.5 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3647, allocations: 4.922 kB / 336.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.3651, allocations: 184.4 kB / 336.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.3651, allocations: 84.17 kB / 336.7 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.3652, allocations: 5.188 kB / 336.7 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3653, allocations: 7.062 kB / 336.7 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.3653, allocations: 4.578 kB / 336.7 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3654, allocations: 10.61 kB / 336.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.74e-05/0.3655, allocations: 97.77 kB / 336.8 MB, free: 2.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3655, allocations: 5.094 kB / 336.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.3658, allocations: 24.16 kB / 336.9 MB, free: 2.219 MB / 266.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 (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.001313/0.3672, allocations: 0.9302 MB / 337.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.3676, allocations: 113.1 kB / 337.9 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3676, allocations: 3.938 kB / 337.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3678, allocations: 36.19 kB / 337.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3681, allocations: 7.891 kB / 338 MB, free: 1.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.3688, allocations: 404.9 kB / 338.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.369, allocations: 0.6921 MB / 339 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.3691, allocations: 25.61 kB / 339.1 MB, free: 252 kB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3691, allocations: 0 / 339.1 MB, free: 252 kB / 266.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_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.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.1/Resources/Data/Tables/test.txt", tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.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.1/Resources/Data/Tables/test.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o] Error 1