Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.051e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3911, allocations: 54.86 MB / 359.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.5428, allocations: 81.14 MB / 441 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.5431, allocations: 69.19 kB / 441.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.5572, allocations: 3.341 MB / 444.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5573, allocations: 0 / 444.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.5573, allocations: 0 / 444.4 MB, free: 12.35 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.0004651/0.5578, allocations: 396.1 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5578, allocations: 8.031 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.5579, allocations: 38.55 kB / 444.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.5579, allocations: 11.86 kB / 444.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5582, allocations: 185 kB / 445 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.5582, allocations: 4 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.5583, allocations: 0 / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.5585, allocations: 63.34 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5585, allocations: 4 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5585, allocations: 0 / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5585, allocations: 3.953 kB / 445.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.677e-05/0.5586, allocations: 19.98 kB / 445.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.5591, allocations: 271.6 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.5593, allocations: 50.5 kB / 445.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.5594, allocations: 12.86 kB / 445.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5594, allocations: 0 / 445.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5595, allocations: 34.52 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.5595, allocations: 0 / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005226/0.56, allocations: 109.6 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5601, allocations: 85.05 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.5602, allocations: 117.6 kB / 445.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5603, allocations: 25.7 kB / 445.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.5603, allocations: 154.6 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.5604, allocations: 27.64 kB / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.5604, allocations: 0 / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5605, allocations: 310.8 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.5606, allocations: 12 kB / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.5607, allocations: 33.66 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.5608, allocations: 50.53 kB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5608, allocations: 0 / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002106/0.561, allocations: 95.39 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.5611, allocations: 37.64 kB / 446.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5611, allocations: 5.297 kB / 446.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5611, allocations: 0 / 446.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.5613, allocations: 19.94 kB / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5613, allocations: 0 / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.5614, allocations: 15.98 kB / 446.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5614, allocations: 0 / 446.6 MB, free: 9.941 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 8.013e-05/0.5615, allocations: 105 kB / 446.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.5615, allocations: 3.906 kB / 446.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.5618, allocations: 86.75 kB / 446.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5618, allocations: 0 / 446.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5618, allocations: 3 kB / 446.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5618, allocations: 0 / 446.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.5624, allocations: 330.5 kB / 447.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5624, allocations: 3.953 kB / 447.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5625, allocations: 19.98 kB / 447.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.5625, allocations: 0 / 447.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.5626, allocations: 4 kB / 447.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5626, allocations: 0 / 447.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5626, allocations: 0 / 447.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.5628, allocations: 172 kB / 447.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.5629, allocations: 85.06 kB / 447.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.5629, allocations: 0 / 447.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.563, allocations: 11.98 kB / 447.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.5631, allocations: 4 kB / 447.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.5631, allocations: 0 / 447.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.876e-05/0.5632, allocations: 97.02 kB / 447.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5632, allocations: 1.031 kB / 447.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003754/0.5636, allocations: 35.92 kB / 447.5 MB, free: 8.902 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.001443/0.5651, allocations: 0.9676 MB / 448.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.5653, allocations: 87.41 kB / 448.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5653, allocations: 0 / 448.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.042e-05/0.5654, allocations: 20 kB / 448.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5657, allocations: 7.984 kB / 448.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.5664, allocations: 185.6 kB / 448.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.5667, allocations: 0.6926 MB / 449.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.5668, allocations: 27.42 kB / 449.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5668, allocations: 0 / 449.5 MB, free: 6.895 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_CombiTable1D_Test20CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o] Error 1