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.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002336/0.3368, allocations: 1.223 MB / 370.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3384, allocations: 0.818 MB / 371.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3385, allocations: 3.938 kB / 371.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.3387, allocations: 19.91 kB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.3389, allocations: 27.91 kB / 371.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.3391, allocations: 35.84 kB / 371.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3392, allocations: 35.95 kB / 371.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.3393, allocations: 8 kB / 371.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.3394, allocations: 19.92 kB / 371.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3396, allocations: 23.91 kB / 371.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3396, allocations: 4 kB / 371.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3398, allocations: 35.86 kB / 371.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.3398, allocations: 3.984 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.3399, allocations: 37.69 kB / 371.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.34, allocations: 55.92 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3401, allocations: 0 / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3401, allocations: 0 / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3401, allocations: 3.938 kB / 371.6 MB, free: 8.34 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.0005667/0.3407, allocations: 397.8 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3407, allocations: 12.02 kB / 372 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3408, allocations: 34.56 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3408, allocations: 7.953 kB / 372.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.341, allocations: 174.9 kB / 372.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3411, allocations: 8 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3411, allocations: 0 / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3413, allocations: 71.33 kB / 372.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3413, allocations: 4 kB / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3414, allocations: 0 / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3414, allocations: 0 / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3415, allocations: 27.94 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.342, allocations: 273 kB / 372.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.3423, allocations: 42.5 kB / 372.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3423, allocations: 4 kB / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3424, allocations: 30.56 kB / 372.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3424, allocations: 0 / 372.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008357/0.3432, allocations: 165.4 kB / 372.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3433, allocations: 77.11 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3435, allocations: 125.8 kB / 373.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3435, allocations: 25.7 kB / 373.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.3436, allocations: 166.5 kB / 373.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3436, allocations: 15.75 kB / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3436, allocations: 0 / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3438, allocations: 314.8 kB / 373.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3439, allocations: 27.98 kB / 373.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3441, allocations: 41.7 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3443, allocations: 53.7 kB / 373.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3443, allocations: 0 / 373.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003696/0.3447, allocations: 123.6 kB / 373.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.3447, allocations: 37.69 kB / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3447, allocations: 3.953 kB / 373.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3448, allocations: 0 / 373.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3449, allocations: 12 kB / 373.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3449, allocations: 0 / 373.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.345, allocations: 19.92 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.345, allocations: 4.234 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.0001098/0.3451, allocations: 113.8 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3452, allocations: 11.84 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.3456, allocations: 109.5 kB / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3456, allocations: 3.953 kB / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3456, allocations: 0 / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3456, allocations: 0 / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.3463, allocations: 346.6 kB / 374.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3463, allocations: 0 / 374.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3464, allocations: 19.94 kB / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.3464, allocations: 3.953 kB / 374.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3465, allocations: 4 kB / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3465, allocations: 3.984 kB / 374.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3465, allocations: 0 / 374.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.3468, allocations: 183.4 kB / 374.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3469, allocations: 77.11 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.347, allocations: 7.938 kB / 374.7 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3471, allocations: 12 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3471, allocations: 0 / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3472, allocations: 7.984 kB / 374.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.3473, allocations: 95.27 kB / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3473, allocations: 4 kB / 374.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.3476, allocations: 23.91 kB / 374.9 MB, free: 4.711 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.001662/0.3493, allocations: 1.002 MB / 375.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.3497, allocations: 115.4 kB / 376 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3497, allocations: 0 / 376 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3499, allocations: 27.92 kB / 376 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3502, allocations: 11.95 kB / 376 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/0.351, allocations: 400.4 kB / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3513, allocations: 0.6887 MB / 377.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.3514, allocations: 23.44 kB / 377.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3514, allocations: 0 / 377.1 MB, free: 2.418 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_Test19CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.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_v4.mat", tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.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_v4.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.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_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19.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_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19FMU.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_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.o] Error 1