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.382/2.382, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.472e-05/4.486e-05, allocations: 8.875 kB / 305 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3994, allocations: 54.85 MB / 359.9 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.5456, allocations: 81.14 MB / 441 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5459, allocations: 71.95 kB / 441.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.5594, allocations: 3.317 MB / 444.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5595, allocations: 4 kB / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.5595, allocations: 0 / 444.4 MB, free: 12.41 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.0004909/0.56, allocations: 393.5 kB / 444.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5601, allocations: 12.03 kB / 444.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.5601, allocations: 34.56 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.5602, allocations: 11.86 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.5604, allocations: 179 kB / 445 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5605, allocations: 0 / 445 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.5605, allocations: 8.453 kB / 445 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.5607, allocations: 69.03 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5607, allocations: 0 / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5607, allocations: 0 / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5607, allocations: 3.953 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.5608, allocations: 16 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.5612, allocations: 266.6 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.5614, allocations: 42.52 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.5615, allocations: 12.94 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.5615, allocations: 7.984 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5616, allocations: 34.52 kB / 445.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5616, allocations: 0 / 445.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004864/0.5621, allocations: 101.4 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.5622, allocations: 85.05 kB / 445.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.5623, allocations: 111.6 kB / 445.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5623, allocations: 29.7 kB / 445.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.5624, allocations: 154.6 kB / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.5624, allocations: 23.73 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.5625, allocations: 0 / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5626, allocations: 310.8 kB / 446.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.5626, allocations: 16 kB / 446.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.5627, allocations: 29.66 kB / 446.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.5628, allocations: 42.75 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5628, allocations: 0.9375 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001879/0.563, allocations: 99.3 kB / 446.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.5631, allocations: 33.66 kB / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5631, allocations: 0 / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5631, allocations: 0 / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5632, allocations: 19.97 kB / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5633, allocations: 3.984 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.5634, allocations: 8.875 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.5634, allocations: 0 / 446.5 MB, free: 10.05 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.92e-05/0.5635, allocations: 109 kB / 446.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.5635, allocations: 0.5625 kB / 446.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.5637, allocations: 81.62 kB / 446.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5637, allocations: 0 / 446.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5638, allocations: 6.312 kB / 446.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5638, allocations: 0 / 446.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.5643, allocations: 322.5 kB / 447 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5643, allocations: 3.938 kB / 447 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5644, allocations: 15.95 kB / 447 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5644, allocations: 0 / 447 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.5644, allocations: 0 / 447 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5644, allocations: 4 kB / 447 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5645, allocations: 7.984 kB / 447 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.5646, allocations: 151.5 kB / 447.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.5647, allocations: 89.88 kB / 447.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.5648, allocations: 3.953 kB / 447.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5649, allocations: 4 kB / 447.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.5649, allocations: 11.98 kB / 447.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.565, allocations: 0 / 447.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.156e-05/0.5651, allocations: 99.92 kB / 447.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5651, allocations: 0 / 447.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5655, allocations: 27.94 kB / 447.4 MB, free: 9.027 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.001373/0.5668, allocations: 0.9564 MB / 448.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.5671, allocations: 87.41 kB / 448.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5671, allocations: 0 / 448.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/0.5672, allocations: 20 kB / 448.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.5675, allocations: 14.98 kB / 448.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.5682, allocations: 177.6 kB / 448.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.5685, allocations: 0.6848 MB / 449.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.5686, allocations: 23.44 kB / 449.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5686, allocations: 0 / 449.4 MB, free: 7.039 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