Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.1e-05, allocations: 7.984 kB / 305 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5059, allocations: 54.86 MB / 359.9 MB, free: 2.602 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.6959, allocations: 81.44 MB / 441.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.6962, allocations: 73.19 kB / 441.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009827/0.7061, allocations: 2.656 MB / 444 MB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7061, allocations: 4 kB / 444 MB, free: 12.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.7061, allocations: 0 / 444 MB, free: 12.86 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003918/0.7065, allocations: 354.7 kB / 444.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.7066, allocations: 8.031 kB / 444.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.7067, allocations: 42.55 kB / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.7067, allocations: 16.61 kB / 444.4 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.7069, allocations: 171 kB / 444.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.707, allocations: 7.984 kB / 444.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.707, allocations: 4.875 kB / 444.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.7073, allocations: 194.8 kB / 444.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.7074, allocations: 3.938 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.7074, allocations: 7.953 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.7074, allocations: 8 kB / 444.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.7076, allocations: 51.8 kB / 444.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.7089, allocations: 1.69 MB / 446.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.7091, allocations: 173.1 kB / 446.7 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.7091, allocations: 91.42 kB / 446.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.7092, allocations: 75.28 kB / 446.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.7092, allocations: 105.8 kB / 447 MB, free: 9.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.514e-06/0.7092, allocations: 0 / 447 MB, free: 9.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001008/0.7093, allocations: 46.61 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.7094, allocations: 126.7 kB / 447.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.7097, allocations: 173.2 kB / 447.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.7097, allocations: 29.7 kB / 447.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.7099, allocations: 217.5 kB / 447.6 MB, free: 9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.7099, allocations: 7.938 kB / 447.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.7099, allocations: 4 kB / 447.6 MB, free: 8.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7101, allocations: 318.8 kB / 447.9 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.7102, allocations: 28 kB / 447.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.7104, allocations: 153.2 kB / 448.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.7105, allocations: 63.91 kB / 448.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.7106, allocations: 5.5 kB / 448.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004304/0.711, allocations: 185.2 kB / 448.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.7111, allocations: 8 kB / 448.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7111, allocations: 6.75 kB / 448.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.7111, allocations: 8.562 kB / 448.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.7113, allocations: 35.98 kB / 448.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.7114, allocations: 11.94 kB / 448.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.7115, allocations: 15.84 kB / 448.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.7115, allocations: 16 kB / 448.4 MB, free: 8.078 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001281/0.7117, allocations: 192.1 kB / 448.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.7118, allocations: 112.8 kB / 448.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.7119, allocations: 116.6 kB / 448.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-05/0.712, allocations: 184.3 kB / 449 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.961e-05/0.7121, allocations: 176.3 kB / 449.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.401e-05/0.7121, allocations: 188.2 kB / 449.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.7125, allocations: 417.2 kB / 449.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.681e-05/0.7125, allocations: 105.9 kB / 449.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.7126, allocations: 108.9 kB / 450 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.113e-05/0.7127, allocations: 184.2 kB / 450.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.7128, allocations: 176.3 kB / 450.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.338e-05/0.7129, allocations: 184.2 kB / 450.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.556e-05/0.713, allocations: 176.3 kB / 450.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.7131, allocations: 319.7 kB / 451 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.7133, allocations: 189.9 kB / 451.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.7134, allocations: 180.2 kB / 451.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.7135, allocations: 113.5 kB / 451.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.7136, allocations: 177.1 kB / 451.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.7137, allocations: 105.5 kB / 451.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.7138, allocations: 131.2 kB / 451.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7139, allocations: 0 / 451.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004142/0.7143, allocations: 16 kB / 451.9 MB, free: 4.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 (0): * Single equations (assignments): 0 * 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.0009389/0.7152, allocations: 0.9015 MB / 452.8 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.7154, allocations: 59.86 kB / 452.9 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.7155, allocations: 0 / 452.9 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.7155, allocations: 3.938 kB / 452.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.7159, allocations: 0.5353 MB / 453.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.7165, allocations: 270 kB / 453.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.7169, allocations: 0.7086 MB / 454.4 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.717, allocations: 27.44 kB / 454.4 MB, free: 1.828 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.717, allocations: 0 / 454.4 MB, free: 1.828 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_Test17CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17InitializeParameter.cpp:28: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", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:97: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", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.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_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1