Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.867e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.41, allocations: 54.86 MB / 359.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.5859, allocations: 81.13 MB / 441 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.5864, allocations: 71.97 kB / 441.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0167/0.6031, allocations: 3.284 MB / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6031, allocations: 0 / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.6032, allocations: 4 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005327/0.6037, allocations: 408.1 kB / 444.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6038, allocations: 8.031 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.6038, allocations: 30.56 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.6039, allocations: 7.906 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.6041, allocations: 187 kB / 445 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.6042, allocations: 4 kB / 445 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.6042, allocations: 11.91 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.6044, allocations: 63.34 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6044, allocations: 0 / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.6044, allocations: 11.23 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6045, allocations: 0 / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.6045, allocations: 16 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.605, allocations: 277.7 kB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.6051, allocations: 46.45 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.6052, allocations: 12.86 kB / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.6052, allocations: 0 / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.6053, allocations: 34.56 kB / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.687e-06/0.6053, allocations: 4.828 kB / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006463/0.6059, allocations: 138.7 kB / 445.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.606, allocations: 85.08 kB / 445.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.6061, allocations: 111 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.6062, allocations: 25.7 kB / 445.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.6063, allocations: 162.5 kB / 446 MB, free: 10.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.6063, allocations: 23.66 kB / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.6063, allocations: 0 / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6065, allocations: 318.8 kB / 446.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.6065, allocations: 17.5 kB / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.6066, allocations: 33.7 kB / 446.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.6067, allocations: 45.7 kB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6068, allocations: 3.953 kB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002301/0.607, allocations: 105.1 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.6071, allocations: 33.7 kB / 446.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6071, allocations: 3.984 kB / 446.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6071, allocations: 4.031 kB / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.6073, allocations: 24.55 kB / 446.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6074, allocations: 4 kB / 446.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.6075, allocations: 15.98 kB / 446.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.6075, allocations: 4 kB / 446.6 MB, free: 9.922 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.723e-05/0.6076, allocations: 105 kB / 446.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.6077, allocations: 11.86 kB / 446.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.608, allocations: 96.56 kB / 446.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.608, allocations: 7.688 kB / 446.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.608, allocations: 0.75 kB / 446.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.608, allocations: 0 / 446.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.6085, allocations: 342.5 kB / 447.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6086, allocations: 4 kB / 447.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.6087, allocations: 23.98 kB / 447.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6088, allocations: 0 / 447.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.6088, allocations: 4 kB / 447.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6088, allocations: 3.938 kB / 447.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6088, allocations: 2.344 kB / 447.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.609, allocations: 175.4 kB / 447.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.6091, allocations: 93 kB / 447.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.6092, allocations: 0 / 447.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6093, allocations: 16 kB / 447.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.6094, allocations: 3.984 kB / 447.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.6094, allocations: 4 kB / 447.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.6095, allocations: 91.92 kB / 447.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6095, allocations: 4 kB / 447.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.6099, allocations: 28 kB / 447.6 MB, free: 8.828 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.001508/0.6114, allocations: 0.979 MB / 448.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.6117, allocations: 107.4 kB / 448.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6117, allocations: 0 / 448.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.6118, allocations: 27.94 kB / 448.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.6121, allocations: 4 kB / 448.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.6128, allocations: 189.4 kB / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6131, allocations: 0.6965 MB / 449.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.6132, allocations: 23.42 kB / 449.6 MB, free: 6.785 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6132, allocations: 0 / 449.6 MB, free: 6.785 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.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_v7.mat", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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_v7.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12FMU.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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.o] Error 1