Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.349e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 54.86 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5405, allocations: 81.14 MB / 441 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5408, allocations: 71.95 kB / 441.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01427/0.5551, allocations: 3.309 MB / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5552, allocations: 0 / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5552, allocations: 8 kB / 444.4 MB, free: 12.37 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.0005086/0.5557, allocations: 404 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5558, allocations: 8.031 kB / 444.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.5558, allocations: 30.56 kB / 444.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.5559, allocations: 11.86 kB / 444.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.5561, allocations: 183.5 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5562, allocations: 0 / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.5562, allocations: 4 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.5564, allocations: 63.34 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5564, allocations: 0 / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5564, allocations: 5.219 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5564, allocations: 3.953 kB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.5565, allocations: 12 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.5569, allocations: 265 kB / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.5572, allocations: 42.52 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.5572, allocations: 12.86 kB / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5572, allocations: 0 / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5573, allocations: 42.59 kB / 445.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.5573, allocations: 0 / 445.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005109/0.5578, allocations: 105.4 kB / 445.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.5579, allocations: 81.11 kB / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.558, allocations: 111.1 kB / 445.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5581, allocations: 29.7 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.5582, allocations: 153.1 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.5582, allocations: 27.64 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.5582, allocations: 0 / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5583, allocations: 318.8 kB / 446.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.5584, allocations: 16 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.5585, allocations: 25.72 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.5586, allocations: 42.45 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5586, allocations: 0 / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001957/0.5588, allocations: 91.39 kB / 446.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.5588, allocations: 33.66 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5589, allocations: 3.984 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5589, allocations: 0 / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.559, allocations: 21.47 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5591, allocations: 4 kB / 446.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.5592, allocations: 7.984 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5592, allocations: 4 kB / 446.5 MB, free: 10 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 0.0001002/0.5593, allocations: 105 kB / 446.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.5594, allocations: 7.906 kB / 446.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.5596, allocations: 73.72 kB / 446.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5596, allocations: 0 / 446.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5596, allocations: 4 kB / 446.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5596, allocations: 0 / 446.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.5601, allocations: 325.4 kB / 447 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5601, allocations: 3.953 kB / 447 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.5602, allocations: 11.98 kB / 447 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5603, allocations: 4 kB / 447 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5603, allocations: 0 / 447 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5603, allocations: 1.125 kB / 447 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5603, allocations: 4 kB / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.5605, allocations: 163.5 kB / 447.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.5606, allocations: 89.03 kB / 447.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.5606, allocations: 4 kB / 447.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.5607, allocations: 8 kB / 447.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5608, allocations: 3.984 kB / 447.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5608, allocations: 4 kB / 447.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.557e-05/0.5609, allocations: 100.2 kB / 447.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5609, allocations: 0 / 447.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.5613, allocations: 27.92 kB / 447.4 MB, free: 8.98 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.001476/0.5628, allocations: 0.9643 MB / 448.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.5631, allocations: 79.41 kB / 448.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5631, allocations: 0 / 448.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.5632, allocations: 20 kB / 448.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.5635, allocations: 11.98 kB / 448.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.5641, allocations: 173.6 kB / 448.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.5644, allocations: 0.6887 MB / 449.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.5645, allocations: 19.42 kB / 449.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5645, allocations: 0 / 449.4 MB, free: 7.004 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_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.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.txt", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.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_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.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_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o] Error 1