Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005992, allocations: 11.98 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3407, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002294/0.3431, allocations: 1.216 MB / 370.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3446, allocations: 0.8336 MB / 371.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.3447, allocations: 0 / 371.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3449, allocations: 19.91 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.3451, allocations: 27.91 kB / 371.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.3452, allocations: 27.86 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3453, allocations: 39.94 kB / 371.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.3454, allocations: 4 kB / 371.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.3455, allocations: 19.92 kB / 371.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3457, allocations: 27.84 kB / 371.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3457, allocations: 8 kB / 371.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3458, allocations: 31.92 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3459, allocations: 4 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3459, allocations: 33.64 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3461, allocations: 63.89 kB / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3461, allocations: 0 / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3461, allocations: 0 / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.3461, allocations: 0 / 371.6 MB, free: 8.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005308/0.3467, allocations: 393.8 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3467, allocations: 12.03 kB / 372 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.3468, allocations: 30.56 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3468, allocations: 15.88 kB / 372.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.347, allocations: 175 kB / 372.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3471, allocations: 7.938 kB / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3471, allocations: 0 / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3473, allocations: 67.34 kB / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3473, allocations: 4 kB / 372.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3474, allocations: 3.984 kB / 372.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3474, allocations: 0 / 372.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3475, allocations: 27.94 kB / 372.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.3479, allocations: 273 kB / 372.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.3482, allocations: 46.5 kB / 372.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3482, allocations: 4 kB / 372.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3483, allocations: 34.56 kB / 372.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3483, allocations: 0 / 372.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007693/0.3491, allocations: 161.4 kB / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3491, allocations: 77.11 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3493, allocations: 121.8 kB / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3493, allocations: 29.7 kB / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.3494, allocations: 162.5 kB / 373.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3494, allocations: 15.75 kB / 373.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.3495, allocations: 0 / 373.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3496, allocations: 314.8 kB / 373.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3497, allocations: 23.97 kB / 373.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3499, allocations: 45.7 kB / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.35, allocations: 57.7 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3501, allocations: 0 / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003528/0.3504, allocations: 119.3 kB / 373.8 MB, free: 5.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.3505, allocations: 33.7 kB / 373.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3505, allocations: 3.953 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3505, allocations: 0 / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3506, allocations: 15.98 kB / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3507, allocations: 4 kB / 373.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.3508, allocations: 7.984 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3508, allocations: 3.938 kB / 373.9 MB, free: 5.824 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 (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 0.0001015/0.3509, allocations: 117.8 kB / 374 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.3509, allocations: 7.906 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3513, allocations: 101.6 kB / 374.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3513, allocations: 3.953 kB / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3514, allocations: 3.938 kB / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3514, allocations: 4.281 kB / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.352, allocations: 342.6 kB / 374.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.352, allocations: 8.312 kB / 374.4 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.693e-05/0.3521, allocations: 11.98 kB / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.3521, allocations: 11.94 kB / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3521, allocations: 8 kB / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3521, allocations: 0 / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3521, allocations: 0 / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3525, allocations: 183.4 kB / 374.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.3526, allocations: 85.11 kB / 374.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3526, allocations: 7.953 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3527, allocations: 7.984 kB / 374.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3528, allocations: 0 / 374.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3528, allocations: 4 kB / 374.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.63e-05/0.3529, allocations: 99.27 kB / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.345e-06/0.3529, allocations: 0 / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.3532, allocations: 35.83 kB / 374.9 MB, free: 4.695 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 (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.00158/0.3548, allocations: 0.9883 MB / 375.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.3552, allocations: 119.3 kB / 376 MB, free: 3.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3552, allocations: 4 kB / 376 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3554, allocations: 27.98 kB / 376 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3556, allocations: 11.95 kB / 376 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.3564, allocations: 396.7 kB / 376.4 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3567, allocations: 0.6887 MB / 377.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.3568, allocations: 27.36 kB / 377.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3568, allocations: 0 / 377.1 MB, free: 2.41 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_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_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.2/Resources/Data/Tables/test.txt", tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_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.2/Resources/Data/Tables/test.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o] Error 1