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.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.647e-05, allocations: 4 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 54.86 MB / 364.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.5461, allocations: 81.14 MB / 445.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5464, allocations: 67.97 kB / 445.8 MB, free: 15.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.5604, allocations: 3.321 MB / 449.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5604, allocations: 0 / 449.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5604, allocations: 0 / 449.2 MB, free: 11.87 MB / 378.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.0005132/0.5609, allocations: 400 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.561, allocations: 8.031 kB / 449.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.5611, allocations: 36.44 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.5611, allocations: 11.94 kB / 449.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.5614, allocations: 175 kB / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5614, allocations: 8 kB / 449.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.5614, allocations: 4 kB / 449.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.5616, allocations: 63.34 kB / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5616, allocations: 0 / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5617, allocations: 0 / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.5617, allocations: 3.953 kB / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.5617, allocations: 12 kB / 449.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.5622, allocations: 269 kB / 450.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.5624, allocations: 42.5 kB / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.5625, allocations: 8.859 kB / 450.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.5625, allocations: 4 kB / 450.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.5626, allocations: 38.52 kB / 450.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.5626, allocations: 0 / 450.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005157/0.5631, allocations: 106.7 kB / 450.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5632, allocations: 81.09 kB / 450.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.5634, allocations: 110.3 kB / 450.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5634, allocations: 25.7 kB / 450.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.5635, allocations: 162.5 kB / 450.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.5635, allocations: 19.66 kB / 450.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.5635, allocations: 0 / 450.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5637, allocations: 318.8 kB / 451 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.5638, allocations: 12 kB / 451 MB, free: 9.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.5638, allocations: 26.59 kB / 451.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.5639, allocations: 45.62 kB / 451.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5639, allocations: 0 / 451.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000201/0.5641, allocations: 97.89 kB / 451.2 MB, free: 9.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.5642, allocations: 38.41 kB / 451.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5642, allocations: 0 / 451.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5642, allocations: 32 / 451.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.5644, allocations: 19.98 kB / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5644, allocations: 3.984 kB / 451.3 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.5645, allocations: 4 kB / 451.3 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.5645, allocations: 4 kB / 451.3 MB, free: 9.504 MB / 378.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 () * 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 8.481e-05/0.5646, allocations: 105 kB / 451.4 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.5647, allocations: 12.92 kB / 451.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.5649, allocations: 81.67 kB / 451.5 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5649, allocations: 0 / 451.5 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5649, allocations: 0 / 451.5 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5649, allocations: 0 / 451.5 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.5654, allocations: 322.6 kB / 451.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5654, allocations: 7.094 kB / 451.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5656, allocations: 19.92 kB / 451.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.5656, allocations: 3.984 kB / 451.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.5656, allocations: 4 kB / 451.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5656, allocations: 4 kB / 451.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5656, allocations: 1.031 kB / 451.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.5658, allocations: 155.5 kB / 452 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.5659, allocations: 85.06 kB / 452.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.566, allocations: 0 / 452.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5661, allocations: 11.98 kB / 452.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.5661, allocations: 8 kB / 452.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.5661, allocations: 0 / 452.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.5663, allocations: 96.91 kB / 452.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5663, allocations: 0 / 452.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.5666, allocations: 27.94 kB / 452.2 MB, free: 8.48 MB / 378.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 () * 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.001498/0.5682, allocations: 0.9564 MB / 453.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.5684, allocations: 95.33 kB / 453.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5684, allocations: 0 / 453.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.5685, allocations: 20.12 kB / 453.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.5688, allocations: 8 kB / 453.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5694, allocations: 180.4 kB / 453.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5697, allocations: 0.6887 MB / 454.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.5698, allocations: 19.42 kB / 454.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5699, allocations: 3.938 kB / 454.2 MB, free: 6.496 MB / 378.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=2 -DSUNDIALS_MINOR_VERSION=6 -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_Test21CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.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_v7.mat", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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_v7.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21.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_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21FMU.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_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.o] Error 1