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.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004252, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3434, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002317/0.3458, allocations: 1.216 MB / 370.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3474, allocations: 0.8374 MB / 371.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.3475, allocations: 0 / 371.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3477, allocations: 11.92 kB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.3479, allocations: 27.91 kB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.3481, allocations: 31.91 kB / 371.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3482, allocations: 35.91 kB / 371.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3483, allocations: 11.98 kB / 371.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.3484, allocations: 23.91 kB / 371.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3486, allocations: 19.92 kB / 371.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3486, allocations: 4 kB / 371.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3487, allocations: 35.91 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.3488, allocations: 7.938 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.3488, allocations: 29.7 kB / 371.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.349, allocations: 59.91 kB / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.349, allocations: 0 / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.349, allocations: 3.938 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3491, allocations: 0 / 371.6 MB, free: 8.344 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.0005509/0.3496, allocations: 397.8 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3497, allocations: 8.031 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.3497, allocations: 30.56 kB / 372.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3498, allocations: 11.89 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.35, allocations: 182.9 kB / 372.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.35, allocations: 4 kB / 372.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.35, allocations: 0 / 372.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3503, allocations: 67.41 kB / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3503, allocations: 0 / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3503, allocations: 0 / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3503, allocations: 0 / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3505, allocations: 35.86 kB / 372.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.3509, allocations: 269 kB / 372.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3512, allocations: 46.55 kB / 372.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3513, allocations: 4 kB / 372.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3513, allocations: 34.56 kB / 372.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 5.471e-06/0.3513, allocations: 3.984 kB / 372.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007998/0.3521, allocations: 157.4 kB / 372.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.3522, allocations: 81.11 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3524, allocations: 125.8 kB / 373.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3524, allocations: 29.7 kB / 373.1 MB, free: 6.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.3525, allocations: 158.5 kB / 373.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3525, allocations: 19.75 kB / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3525, allocations: 0 / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3527, allocations: 310.8 kB / 373.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3528, allocations: 27.98 kB / 373.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.353, allocations: 45.69 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.3531, allocations: 57.7 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3532, allocations: 0 / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003575/0.3535, allocations: 123.6 kB / 373.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3536, allocations: 29.7 kB / 373.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3536, allocations: 3.953 kB / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3536, allocations: 0 / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3538, allocations: 23.86 kB / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3538, allocations: 0 / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.3539, allocations: 12 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3539, allocations: 7.922 kB / 373.9 MB, free: 5.82 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.0001086/0.354, allocations: 113.8 kB / 374 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.3541, allocations: 7.906 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.3545, allocations: 97.62 kB / 374.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3545, allocations: 7.953 kB / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3545, allocations: 0 / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3545, allocations: 0 / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.3551, allocations: 342.5 kB / 374.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3552, allocations: 0 / 374.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3553, allocations: 19.98 kB / 374.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3553, allocations: 3.953 kB / 374.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3553, allocations: 4 kB / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3553, allocations: 0 / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3553, allocations: 0 / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.3557, allocations: 191.4 kB / 374.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3558, allocations: 81.11 kB / 374.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3558, allocations: 3.953 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3559, allocations: 12.23 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.356, allocations: 0 / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.356, allocations: 8 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.947e-05/0.3561, allocations: 95.27 kB / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3561, allocations: 8 kB / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.3565, allocations: 27.89 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.001642/0.3581, allocations: 0.9956 MB / 375.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.3585, allocations: 115.4 kB / 376 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3586, allocations: 4 kB / 376 MB, free: 3.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3587, allocations: 23.98 kB / 376 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.359, allocations: 11.95 kB / 376 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.3598, allocations: 404.4 kB / 376.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3601, allocations: 0.6887 MB / 377.1 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.3602, allocations: 23.42 kB / 377.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3602, allocations: 0 / 377.1 MB, free: 2.422 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_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.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_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.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_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.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_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24FMU.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_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o] Error 1