Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.324e-05, allocations: 0 / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3862, allocations: 54.86 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5315, allocations: 81.13 MB / 441 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5318, allocations: 75.94 kB / 441.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5453, allocations: 3.309 MB / 444.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5454, allocations: 4 kB / 444.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.5454, allocations: 0 / 444.4 MB, free: 12.48 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.0004704/0.5459, allocations: 400 kB / 444.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.546, allocations: 8.031 kB / 444.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.546, allocations: 34.56 kB / 444.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.5461, allocations: 11.84 kB / 444.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.5463, allocations: 183.5 kB / 445 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5463, allocations: 4 kB / 445 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.5464, allocations: 8 kB / 445 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5466, allocations: 59.91 kB / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5466, allocations: 0 / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5466, allocations: 0 / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.5466, allocations: 3.953 kB / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.5467, allocations: 12 kB / 445.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.5471, allocations: 269 kB / 445.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.5473, allocations: 40.11 kB / 445.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.5474, allocations: 12.86 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.5474, allocations: 4 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5475, allocations: 38.59 kB / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5475, allocations: 0 / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000478/0.5479, allocations: 113.3 kB / 445.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.548, allocations: 77.11 kB / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.5481, allocations: 115.1 kB / 445.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5482, allocations: 25.7 kB / 445.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.5483, allocations: 158.6 kB / 445.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.5483, allocations: 15.66 kB / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.5483, allocations: 0 / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5484, allocations: 322.8 kB / 446.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.5485, allocations: 16 kB / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.5486, allocations: 21.72 kB / 446.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.5487, allocations: 46.64 kB / 446.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5487, allocations: 0 / 446.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00018/0.5489, allocations: 88.8 kB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.5489, allocations: 41.64 kB / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5489, allocations: 0 / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.549, allocations: 0 / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5491, allocations: 21.66 kB / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5491, allocations: 0 / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.5492, allocations: 11.98 kB / 446.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.5492, allocations: 4 kB / 446.5 MB, free: 10.11 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 7.36e-05/0.5493, allocations: 101 kB / 446.6 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.5494, allocations: 7.906 kB / 446.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.5496, allocations: 77.72 kB / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5496, allocations: 4 kB / 446.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5496, allocations: 4 kB / 446.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5496, allocations: 0 / 446.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.55, allocations: 317.2 kB / 447 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5501, allocations: 5.266 kB / 447 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5502, allocations: 15.98 kB / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5502, allocations: 0 / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5502, allocations: 4 kB / 447 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5502, allocations: 0 / 447 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5502, allocations: 4 kB / 447 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.5504, allocations: 159.4 kB / 447.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.5505, allocations: 93.05 kB / 447.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5506, allocations: 0 / 447.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5507, allocations: 4 kB / 447.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.5507, allocations: 8.125 kB / 447.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.5508, allocations: 3.984 kB / 447.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.748e-05/0.5509, allocations: 100.7 kB / 447.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5509, allocations: 0 / 447.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.5512, allocations: 29.33 kB / 447.4 MB, free: 9.094 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.001367/0.5526, allocations: 0.9598 MB / 448.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.5528, allocations: 83.41 kB / 448.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5528, allocations: 0 / 448.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.245e-05/0.5529, allocations: 20 kB / 448.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.5532, allocations: 15.03 kB / 448.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.5537, allocations: 169.6 kB / 448.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.554, allocations: 0.6887 MB / 449.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.5541, allocations: 27.42 kB / 449.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5541, allocations: 0 / 449.4 MB, free: 7.109 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_CombiTable1Ds_Test21CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.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", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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_CombiTable1Ds_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21FMU.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_CombiTable1Ds_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.o] Error 1