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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000824/0.0008242, allocations: 16 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3621, allocations: 54.86 MB / 369.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5168, allocations: 81.22 MB / 450.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.5172, allocations: 75.97 kB / 450.7 MB, free: 9.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.5314, allocations: 3.504 MB / 454.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5314, allocations: 0 / 454.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.5315, allocations: 0 / 454.2 MB, free: 5.922 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.000582/0.5321, allocations: 406.9 kB / 454.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5321, allocations: 8.031 kB / 454.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.5322, allocations: 38.56 kB / 454.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.5322, allocations: 7.859 kB / 454.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.5325, allocations: 187 kB / 454.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.5325, allocations: 8 kB / 454.8 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.5326, allocations: 0 / 454.8 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.5328, allocations: 63.41 kB / 454.9 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5328, allocations: 3.938 kB / 454.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5328, allocations: 0 / 454.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5329, allocations: 7.891 kB / 454.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.533, allocations: 31.97 kB / 454.9 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.5335, allocations: 272.8 kB / 455.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.5338, allocations: 42.5 kB / 455.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5338, allocations: 8.094 kB / 455.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.5338, allocations: 34.55 kB / 455.3 MB, free: 4.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.5338, allocations: 0 / 455.3 MB, free: 4.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008204/0.5347, allocations: 161.3 kB / 455.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.5348, allocations: 77.11 kB / 455.5 MB, free: 4.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.5349, allocations: 109 kB / 455.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.535, allocations: 29.7 kB / 455.6 MB, free: 4.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.535, allocations: 154.6 kB / 455.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.5351, allocations: 19.73 kB / 455.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.5351, allocations: 0 / 455.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5353, allocations: 322.8 kB / 456.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5354, allocations: 23.98 kB / 456.1 MB, free: 3.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5356, allocations: 33.7 kB / 456.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.5357, allocations: 61.72 kB / 456.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5358, allocations: 0 / 456.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003894/0.5362, allocations: 119.3 kB / 456.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.5362, allocations: 29.7 kB / 456.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5362, allocations: 7.953 kB / 456.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5363, allocations: 0 / 456.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.5364, allocations: 19.98 kB / 456.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5364, allocations: 0 / 456.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.5365, allocations: 8 kB / 456.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.5365, allocations: 4 kB / 456.4 MB, free: 3.41 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 () * 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.0001154/0.5367, allocations: 113.8 kB / 456.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.5367, allocations: 4.188 kB / 456.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.5371, allocations: 101.6 kB / 456.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5371, allocations: 7.938 kB / 456.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5371, allocations: 320 / 456.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5371, allocations: 3.984 kB / 456.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.5378, allocations: 350.6 kB / 457 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5378, allocations: 0 / 457 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5379, allocations: 16 kB / 457 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.5379, allocations: 7.938 kB / 457 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.538, allocations: 3.938 kB / 457 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.538, allocations: 0 / 457 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.538, allocations: 0 / 457 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.5384, allocations: 183.4 kB / 457.2 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.5384, allocations: 89 kB / 457.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.5385, allocations: 7.891 kB / 457.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5386, allocations: 4 kB / 457.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.5387, allocations: 15.98 kB / 457.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.5387, allocations: 0 / 457.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.5388, allocations: 99.64 kB / 457.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5388, allocations: 3.938 kB / 457.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.5392, allocations: 27.98 kB / 457.4 MB, free: 2.277 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 () * 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.001732/0.5409, allocations: 1.007 MB / 458.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.5413, allocations: 111.3 kB / 458.5 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5413, allocations: 4 kB / 458.5 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5415, allocations: 31.92 kB / 458.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.5417, allocations: 11.95 kB / 458.6 MB, free: 1.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.5426, allocations: 412.4 kB / 459 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5429, allocations: 0.6887 MB / 459.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.543, allocations: 23.42 kB / 459.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of SimCode: time 3.146e-06/0.543, allocations: 0 / 459.7 MB, free: 15.95 MB / 394.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_Test20CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20InitializeParameter.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_v6.mat", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.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_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.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_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20.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_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20FMU.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_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.o] Error 1