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.369/2.369, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.605e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4114, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.5622, allocations: 81.13 MB / 445.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5625, allocations: 71.95 kB / 445.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.5768, allocations: 3.318 MB / 449.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5768, allocations: 0 / 449.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5768, allocations: 0 / 449.2 MB, free: 12.02 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.0005273/0.5774, allocations: 400.5 kB / 449.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5774, allocations: 8.031 kB / 449.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.5775, allocations: 34.56 kB / 449.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.5775, allocations: 7.859 kB / 449.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.5778, allocations: 183.7 kB / 449.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5778, allocations: 8 kB / 449.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.5779, allocations: 4 kB / 449.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.578, allocations: 59.34 kB / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.578, allocations: 0 / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5781, allocations: 4 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5781, allocations: 3.953 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.5782, allocations: 12 kB / 449.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.5786, allocations: 270 kB / 450.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.5788, allocations: 42.52 kB / 450.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.5789, allocations: 8.859 kB / 450.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.5789, allocations: 0 / 450.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5789, allocations: 38.59 kB / 450.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.025e-06/0.579, allocations: 3.984 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000488/0.5795, allocations: 109.4 kB / 450.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.5795, allocations: 81.11 kB / 450.4 MB, free: 10.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.5797, allocations: 110.2 kB / 450.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5797, allocations: 29.7 kB / 450.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.5798, allocations: 154.6 kB / 450.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.5798, allocations: 20.69 kB / 450.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.5799, allocations: 4 kB / 450.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.58, allocations: 318.8 kB / 451 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.58, allocations: 12 kB / 451 MB, free: 9.906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.5801, allocations: 29.66 kB / 451.1 MB, free: 9.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.5802, allocations: 38.58 kB / 451.1 MB, free: 9.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5802, allocations: 0 / 451.1 MB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001968/0.5804, allocations: 99.33 kB / 451.2 MB, free: 9.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.5805, allocations: 37.64 kB / 451.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5805, allocations: 0 / 451.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5805, allocations: 0 / 451.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5807, allocations: 20.22 kB / 451.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5807, allocations: 0 / 451.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.5808, allocations: 15.98 kB / 451.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.5808, allocations: 0 / 451.3 MB, free: 9.641 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 7.829e-05/0.5809, allocations: 109 kB / 451.4 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.5809, allocations: 0 / 451.4 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.5811, allocations: 93.53 kB / 451.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5812, allocations: 4 kB / 451.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5812, allocations: 0 / 451.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5812, allocations: 0 / 451.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.5816, allocations: 314.6 kB / 451.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5817, allocations: 0 / 451.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.5818, allocations: 23.88 kB / 451.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5818, allocations: 0 / 451.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.5818, allocations: 4 kB / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5818, allocations: 4 kB / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5819, allocations: 0 / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.582, allocations: 151.5 kB / 452 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.5821, allocations: 89 kB / 452 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.5822, allocations: 3.953 kB / 452.1 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.5823, allocations: 8 kB / 452.1 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.5823, allocations: 7.984 kB / 452.1 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.5824, allocations: 4 kB / 452.1 MB, free: 8.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.5825, allocations: 92.16 kB / 452.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5825, allocations: 0 / 452.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.5828, allocations: 35.92 kB / 452.2 MB, free: 8.613 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.001466/0.5843, allocations: 0.9503 MB / 453.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.5846, allocations: 87.34 kB / 453.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5846, allocations: 0 / 453.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.5847, allocations: 16 kB / 453.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.585, allocations: 19.94 kB / 453.3 MB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.5856, allocations: 172.3 kB / 453.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.5859, allocations: 0.6887 MB / 454.1 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.586, allocations: 19.42 kB / 454.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of SimCode: time 3.637e-06/0.586, allocations: 0 / 454.1 MB, free: 6.645 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_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