Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2189/1.973, allocations: 46.83 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/2.068, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.781/3.849, allocations: 0.7496 GB / 1.037 GB, free: 29.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/3.85, allocations: 69.27 kB / 1.037 GB, free: 29.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.4827/4.332, allocations: 61.59 MB / 1.097 GB, free: 123.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/4.332, allocations: 9.781 kB / 1.097 GB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/4.345, allocations: 0.8342 MB / 1.098 GB, free: 123.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/4.346, allocations: 281.5 kB / 1.098 GB, free: 122.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/4.346, allocations: 5.031 kB / 1.098 GB, free: 122.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/4.346, allocations: 18.86 kB / 1.098 GB, free: 122.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002437/4.349, allocations: 0.6447 MB / 1.099 GB, free: 122.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/4.35, allocations: 419.7 kB / 1.099 GB, free: 122.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/4.35, allocations: 1.531 kB / 1.099 GB, free: 122.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/4.35, allocations: 4 kB / 1.099 GB, free: 122.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/4.35, allocations: 13 kB / 1.099 GB, free: 122.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/4.356, allocations: 1.318 MB / 1.1 GB, free: 121.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009779/4.357, allocations: 326.9 kB / 1.101 GB, free: 121.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/4.358, allocations: 223.7 kB / 1.101 GB, free: 121.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/4.359, allocations: 247.3 kB / 1.101 GB, free: 121.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/4.359, allocations: 38.5 kB / 1.101 GB, free: 121.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.397e-06/4.359, allocations: 0 / 1.101 GB, free: 121.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001801/4.361, allocations: 440.9 kB / 1.102 GB, free: 120.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/4.361, allocations: 80.27 kB / 1.102 GB, free: 120.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/4.361, allocations: 121.3 kB / 1.102 GB, free: 120.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/4.361, allocations: 26.92 kB / 1.102 GB, free: 120.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/4.361, allocations: 116.2 kB / 1.102 GB, free: 120.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/4.361, allocations: 100.7 kB / 1.102 GB, free: 120.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/4.361, allocations: 0 / 1.102 GB, free: 120.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/4.362, allocations: 328.3 kB / 1.102 GB, free: 120.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/4.362, allocations: 206 kB / 1.102 GB, free: 120.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/4.363, allocations: 313.7 kB / 1.103 GB, free: 119.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/4.364, allocations: 233 kB / 1.103 GB, free: 119.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/4.364, allocations: 1.156 kB / 1.103 GB, free: 119.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001939/4.366, allocations: 0.5414 MB / 1.104 GB, free: 119.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/4.366, allocations: 5.484 kB / 1.104 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/4.366, allocations: 7.344 kB / 1.104 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/4.366, allocations: 6.156 kB / 1.104 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/4.367, allocations: 84.66 kB / 1.104 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/4.367, allocations: 6.844 kB / 1.104 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/4.368, allocations: 41.45 kB / 1.104 GB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/4.369, allocations: 21.45 kB / 1.104 GB, free: 119.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0002167/4.369, allocations: 116.5 kB / 1.104 GB, free: 119.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/4.369, allocations: 16.97 kB / 1.104 GB, free: 119.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/4.371, allocations: 0.5392 MB / 1.104 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/4.371, allocations: 11.25 kB / 1.104 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/4.371, allocations: 0.9375 kB / 1.104 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/4.371, allocations: 3.281 kB / 1.104 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/4.373, allocations: 0.4953 MB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/4.373, allocations: 1.688 kB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/4.374, allocations: 65.95 kB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/4.374, allocations: 2 kB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/4.374, allocations: 8.984 kB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/4.374, allocations: 5.547 kB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/4.374, allocations: 12.78 kB / 1.105 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002111/4.377, allocations: 0.7248 MB / 1.106 GB, free: 118.4 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003083/4.38, allocations: 1.37 MB / 1.107 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/4.38, allocations: 94.75 kB / 1.107 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/4.38, allocations: 4.438 kB / 1.107 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/4.381, allocations: 20.55 kB / 1.107 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/4.381, allocations: 16.83 kB / 1.107 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/4.381, allocations: 20.78 kB / 1.107 GB, free: 117.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.074e-05/4.382, allocations: 100.1 kB / 1.107 GB, free: 117.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002876/4.384, allocations: 256.1 kB / 1.107 GB, free: 117.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.00309/4.388, allocations: 0.8664 MB / 1.108 GB, free: 116.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/4.389, allocations: 490 kB / 1.109 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/4.389, allocations: 0 / 1.109 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006541/4.39, allocations: 238.1 kB / 1.109 GB, free: 116.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/4.391, allocations: 83.12 kB / 1.109 GB, free: 116.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/4.394, allocations: 0.7804 MB / 1.11 GB, free: 115.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/4.395, allocations: 0.8054 MB / 1.111 GB, free: 114.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/4.395, allocations: 3.938 kB / 1.111 GB, free: 114.8 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat