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.329/2.329, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.376e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4063, allocations: 54.86 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5547, allocations: 81.13 MB / 441 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.555, allocations: 71.97 kB / 441.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.5688, allocations: 3.317 MB / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5688, allocations: 0 / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.5688, allocations: 4 kB / 444.4 MB, free: 12.38 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.000478/0.5693, allocations: 388.1 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5694, allocations: 12.03 kB / 444.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.5694, allocations: 34.56 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.5695, allocations: 14.36 kB / 444.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.5698, allocations: 186.9 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5698, allocations: 4 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5698, allocations: 4 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.57, allocations: 55.34 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.57, allocations: 0 / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.57, allocations: 4 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.5701, allocations: 7.953 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/0.5701, allocations: 16 kB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.5705, allocations: 261 kB / 445.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.5708, allocations: 47.44 kB / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.5708, allocations: 8.859 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5709, allocations: 4 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5709, allocations: 34.52 kB / 445.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/0.571, allocations: 0 / 445.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005256/0.5715, allocations: 105.6 kB / 445.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.5716, allocations: 85.05 kB / 445.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.5717, allocations: 115.6 kB / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.5718, allocations: 25.7 kB / 445.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.5718, allocations: 158.6 kB / 445.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.5719, allocations: 24.58 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.5719, allocations: 4 kB / 446 MB, free: 10.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.572, allocations: 310.8 kB / 446.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.5721, allocations: 12 kB / 446.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.5722, allocations: 21.72 kB / 446.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/0.5722, allocations: 51.56 kB / 446.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5723, allocations: 0 / 446.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001885/0.5725, allocations: 95.42 kB / 446.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.5725, allocations: 37.66 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5725, allocations: 0 / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5726, allocations: 0.5625 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5727, allocations: 19.92 kB / 446.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5727, allocations: 0 / 446.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.5728, allocations: 8 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5728, allocations: 0 / 446.5 MB, free: 10.02 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.168e-05/0.5729, allocations: 109 kB / 446.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.573, allocations: 5.5 kB / 446.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.5732, allocations: 81.72 kB / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5732, allocations: 0 / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.5732, allocations: 0.875 kB / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5733, allocations: 0 / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.5737, allocations: 322.5 kB / 447 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5737, allocations: 3.953 kB / 447 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5739, allocations: 22.73 kB / 447 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5739, allocations: 0 / 447 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5739, allocations: 4 kB / 447 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5739, allocations: 0 / 447 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5739, allocations: 0 / 447 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5741, allocations: 159.4 kB / 447.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.5742, allocations: 85.06 kB / 447.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.5742, allocations: 4 kB / 447.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5743, allocations: 7.984 kB / 447.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5744, allocations: 4 kB / 447.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.5744, allocations: 0.9375 kB / 447.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.232e-05/0.5745, allocations: 99.92 kB / 447.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5745, allocations: 0 / 447.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.5749, allocations: 31.94 kB / 447.4 MB, free: 9 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.001409/0.5763, allocations: 0.9618 MB / 448.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.5765, allocations: 83.41 kB / 448.5 MB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5766, allocations: 0 / 448.5 MB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.5766, allocations: 19.98 kB / 448.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.5769, allocations: 11.05 kB / 448.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.5775, allocations: 177.6 kB / 448.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.5778, allocations: 0.6887 MB / 449.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.5779, allocations: 27.42 kB / 449.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5779, allocations: 0 / 449.4 MB, free: 7.012 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_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 */ tmp22; ^ ./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", tmp22); ~~~~~~~~~~ ^ 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