Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.864e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4185, allocations: 54.86 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.5732, allocations: 81.13 MB / 441 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5736, allocations: 65.09 kB / 441.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.5875, allocations: 3.292 MB / 444.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5876, allocations: 0 / 444.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.5876, allocations: 0 / 444.4 MB, free: 12.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005523/0.5882, allocations: 408.1 kB / 444.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5882, allocations: 8.031 kB / 444.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.5883, allocations: 34.56 kB / 444.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.5883, allocations: 7.906 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.5886, allocations: 187 kB / 445 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5886, allocations: 0 / 445 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.5887, allocations: 7.906 kB / 445 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.5889, allocations: 68.19 kB / 445.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5889, allocations: 3.281 kB / 445.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.5889, allocations: 7.953 kB / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5889, allocations: 4 kB / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.589, allocations: 12 kB / 445.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.5895, allocations: 276.9 kB / 445.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5896, allocations: 46.47 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.5897, allocations: 12.86 kB / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.5897, allocations: 0 / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.5898, allocations: 35.41 kB / 445.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.847e-06/0.5898, allocations: 3.984 kB / 445.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007143/0.5905, allocations: 149.5 kB / 445.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.5906, allocations: 77.11 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5907, allocations: 107 kB / 445.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.5908, allocations: 29.7 kB / 445.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.5909, allocations: 158.5 kB / 446 MB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.5909, allocations: 23.66 kB / 446 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-06/0.5909, allocations: 0 / 446 MB, free: 10.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5911, allocations: 317.2 kB / 446.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.5912, allocations: 23.98 kB / 446.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.5912, allocations: 31.67 kB / 446.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.5913, allocations: 45.7 kB / 446.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5914, allocations: 3.953 kB / 446.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002416/0.5916, allocations: 107.3 kB / 446.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.5917, allocations: 33.69 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5917, allocations: 4 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5917, allocations: 5.125 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.592, allocations: 24.02 kB / 446.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.592, allocations: 0 / 446.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.5921, allocations: 15.98 kB / 446.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.5922, allocations: 4 kB / 446.6 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 (8): * Single equations (assignments): 7 * 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.957e-05/0.5922, allocations: 105 kB / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.5923, allocations: 11.86 kB / 446.7 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5926, allocations: 96.33 kB / 446.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5926, allocations: 0 / 446.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5926, allocations: 4 kB / 446.8 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5926, allocations: 0 / 446.8 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.5932, allocations: 349.6 kB / 447.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5932, allocations: 0 / 447.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.5934, allocations: 23.98 kB / 447.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5934, allocations: 4 kB / 447.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5934, allocations: 4 kB / 447.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5934, allocations: 7.938 kB / 447.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5935, allocations: 1.688 kB / 447.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.5937, allocations: 168.6 kB / 447.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.5938, allocations: 93 kB / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5938, allocations: 0 / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.594, allocations: 15.98 kB / 447.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.5941, allocations: 4 kB / 447.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5941, allocations: 4 kB / 447.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.889e-05/0.5942, allocations: 95.92 kB / 447.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5942, allocations: 0 / 447.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000382/0.5946, allocations: 32 kB / 447.6 MB, free: 8.926 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 (7): * Single equations (assignments): 7 * 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.001538/0.5962, allocations: 0.9833 MB / 448.6 MB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.5965, allocations: 103.4 kB / 448.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5965, allocations: 0 / 448.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.5966, allocations: 23.94 kB / 448.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.5969, allocations: 8 kB / 448.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.5976, allocations: 189.3 kB / 448.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.5979, allocations: 0.6926 MB / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.598, allocations: 23.42 kB / 449.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5981, allocations: 0 / 449.6 MB, free: 6.887 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_CombiTable2D_Test10CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.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", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:293:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10.cpp:756:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.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_CombiTable2D_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o] Error 1