Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.648e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3943, allocations: 54.86 MB / 359.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.542, allocations: 81.23 MB / 441.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5423, allocations: 71.97 kB / 441.2 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009392/0.5517, allocations: 2.659 MB / 443.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5518, allocations: 0 / 443.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.5518, allocations: 128 / 443.8 MB, free: 12.93 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.00036/0.5522, allocations: 358.4 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5522, allocations: 8.031 kB / 444.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.5523, allocations: 38.56 kB / 444.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.5523, allocations: 11.91 kB / 444.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.5525, allocations: 170.9 kB / 444.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.5525, allocations: 8 kB / 444.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.5526, allocations: 4 kB / 444.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.5529, allocations: 190.9 kB / 444.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5529, allocations: 7.891 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5529, allocations: 0 / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.553, allocations: 18.98 kB / 444.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.5531, allocations: 55.8 kB / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.5542, allocations: 1.689 MB / 446.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.5543, allocations: 173.1 kB / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.5544, allocations: 80.14 kB / 446.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.5544, allocations: 82.56 kB / 446.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.5545, allocations: 109.8 kB / 446.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.5545, allocations: 0 / 446.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.811e-05/0.5546, allocations: 41.59 kB / 446.8 MB, free: 9.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.5547, allocations: 126.7 kB / 447 MB, free: 9.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.5549, allocations: 173.2 kB / 447.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5549, allocations: 25.7 kB / 447.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5551, allocations: 221.5 kB / 447.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.5551, allocations: 4 kB / 447.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.5551, allocations: 4 kB / 447.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5553, allocations: 318.8 kB / 447.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.5553, allocations: 36.95 kB / 447.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.5555, allocations: 149.2 kB / 447.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.5557, allocations: 67.89 kB / 447.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.5557, allocations: 7.953 kB / 447.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004007/0.5561, allocations: 173.8 kB / 448.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5561, allocations: 8 kB / 448.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5562, allocations: 4 kB / 448.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5562, allocations: 4 kB / 448.1 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.5564, allocations: 43.92 kB / 448.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.5565, allocations: 13.72 kB / 448.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5566, allocations: 15.84 kB / 448.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.5566, allocations: 17.5 kB / 448.2 MB, free: 8.148 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.0001145/0.5568, allocations: 196.2 kB / 448.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.5568, allocations: 116.8 kB / 448.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.5569, allocations: 116.6 kB / 448.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.42e-05/0.557, allocations: 183.2 kB / 448.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-05/0.5571, allocations: 176.3 kB / 449 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.538e-05/0.5572, allocations: 184.2 kB / 449.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.5575, allocations: 421.2 kB / 449.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/0.5575, allocations: 108.9 kB / 449.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.5576, allocations: 108.9 kB / 449.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.549e-05/0.5576, allocations: 176.3 kB / 450 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.5577, allocations: 180.2 kB / 450.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.63e-05/0.5578, allocations: 184.2 kB / 450.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.227e-05/0.5579, allocations: 180.3 kB / 450.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.558, allocations: 311.7 kB / 450.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.5581, allocations: 190 kB / 451 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.5582, allocations: 184.2 kB / 451.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5584, allocations: 112.9 kB / 451.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.5585, allocations: 176.3 kB / 451.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.5585, allocations: 105.5 kB / 451.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.5587, allocations: 127.3 kB / 451.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5587, allocations: 0 / 451.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.5591, allocations: 16 kB / 451.7 MB, free: 4.449 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.0008568/0.56, allocations: 0.8904 MB / 452.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.5602, allocations: 68.72 kB / 452.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5602, allocations: 384 / 452.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.5602, allocations: 7.938 kB / 452.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.5606, allocations: 0.5263 MB / 453.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.5612, allocations: 270 kB / 453.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.5615, allocations: 0.7009 MB / 454.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.5616, allocations: 39.36 kB / 454.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5617, allocations: 0 / 454.2 MB, free: 1.902 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16InitializeParameter.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_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.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_Test16Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.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_Test16CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1