Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.724e-05, allocations: 8 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3867, allocations: 54.85 MB / 359.9 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5532, allocations: 81.19 MB / 441.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5536, allocations: 67.97 kB / 441.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.5685, allocations: 3.592 MB / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5686, allocations: 0 / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.5686, allocations: 0 / 444.7 MB, free: 12.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004907/0.5691, allocations: 404 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5691, allocations: 8.031 kB / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.5692, allocations: 38.55 kB / 445.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.5692, allocations: 7.953 kB / 445.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5695, allocations: 190.9 kB / 445.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5695, allocations: 4 kB / 445.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.5696, allocations: 8.984 kB / 445.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.5698, allocations: 73.53 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5698, allocations: 4 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5698, allocations: 0 / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.5698, allocations: 3.953 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.5699, allocations: 27.98 kB / 445.5 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.5704, allocations: 284.8 kB / 445.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.5705, allocations: 50.52 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.5706, allocations: 12.98 kB / 445.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.5706, allocations: 7.953 kB / 445.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.5707, allocations: 37.17 kB / 445.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.5707, allocations: 3.938 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006163/0.5713, allocations: 138.8 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5714, allocations: 81.11 kB / 446.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.5716, allocations: 121.8 kB / 446.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.5716, allocations: 25.7 kB / 446.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.5717, allocations: 162.7 kB / 446.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.5717, allocations: 27.64 kB / 446.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.5717, allocations: 0 / 446.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5719, allocations: 314.8 kB / 446.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.5719, allocations: 20 kB / 446.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.572, allocations: 37.72 kB / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.215e-05/0.5721, allocations: 49.69 kB / 446.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5722, allocations: 0 / 446.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002474/0.5724, allocations: 116.3 kB / 446.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.5725, allocations: 33.7 kB / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5725, allocations: 0 / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5725, allocations: 0 / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.5727, allocations: 23.92 kB / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5727, allocations: 0 / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.5728, allocations: 16.58 kB / 447 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5728, allocations: 7 kB / 447 MB, free: 9.508 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 (9): * Single equations (assignments): 8 * 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.279e-05/0.5729, allocations: 109 kB / 447.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.573, allocations: 7.953 kB / 447.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.5733, allocations: 100.9 kB / 447.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5733, allocations: 0 / 447.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5733, allocations: 0 / 447.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5733, allocations: 5.016 kB / 447.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.5739, allocations: 366.5 kB / 447.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5739, allocations: 3.938 kB / 447.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.5741, allocations: 23.98 kB / 447.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5741, allocations: 0 / 447.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5741, allocations: 0 / 447.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5741, allocations: 4 kB / 447.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5741, allocations: 0 / 447.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.5744, allocations: 187.3 kB / 447.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.5744, allocations: 85.02 kB / 447.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5745, allocations: 0 / 447.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5746, allocations: 17.39 kB / 447.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.5747, allocations: 3.984 kB / 447.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5747, allocations: 4 kB / 447.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.5748, allocations: 100.4 kB / 448 MB, free: 8.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5748, allocations: 4 kB / 448 MB, free: 8.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.5752, allocations: 31.98 kB / 448 MB, free: 8.379 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 (8): * Single equations (assignments): 8 * 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.001486/0.5767, allocations: 0.9768 MB / 449 MB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.577, allocations: 103.4 kB / 449.1 MB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.577, allocations: 0 / 449.1 MB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.5771, allocations: 35.92 kB / 449.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5774, allocations: 15.05 kB / 449.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.5781, allocations: 194.1 kB / 449.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.5784, allocations: 0.6932 MB / 450 MB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5785, allocations: 27.42 kB / 450.1 MB, free: 6.309 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5785, allocations: 0 / 450.1 MB, free: 6.309 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:37: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", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.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", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:295:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:296:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.cpp:745:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1