Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [: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.661/1.661, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1947/1.855, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/1.946, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.31/13.26, allocations: 5.72 GB / 6.006 GB, free: 47.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/13.26, allocations: 72.59 kB / 6.007 GB, free: 47.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 5.844/19.1, allocations: 1.267 GB / 7.274 GB, free: 55.32 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/19.1, allocations: 7.281 kB / 7.274 GB, free: 55.32 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/19.11, allocations: 94.47 kB / 7.274 GB, free: 55.3 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/19.11, allocations: 377.3 kB / 7.274 GB, free: 55.09 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/19.11, allocations: 12.78 kB / 7.274 GB, free: 55.09 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/19.11, allocations: 32.28 kB / 7.274 GB, free: 55.09 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001143/19.11, allocations: 451.9 kB / 7.275 GB, free: 55.08 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/19.11, allocations: 0.5064 MB / 7.275 GB, free: 54.93 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/19.11, allocations: 11.61 kB / 7.275 GB, free: 54.93 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/19.11, allocations: 1.875 kB / 7.275 GB, free: 54.93 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/19.11, allocations: 12.69 kB / 7.275 GB, free: 54.93 MB / 0.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/19.12, allocations: 6.508 MB / 7.281 GB, free: 51.95 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/19.12, allocations: 242.2 kB / 7.282 GB, free: 51.92 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/19.12, allocations: 182.6 kB / 7.282 GB, free: 51.91 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004247/19.13, allocations: 2.448 MB / 7.284 GB, free: 49.82 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/19.13, allocations: 36.75 kB / 7.284 GB, free: 49.78 MB / 0.589 GB Notification: Performance of pre-optimization done (n=44): time 3.347e-06/19.13, allocations: 0 / 7.284 GB, free: 49.78 MB / 0.589 GB Notification: Performance of matching and sorting (n=52): time 0.01167/19.14, allocations: 1.659 MB / 7.286 GB, free: 49.41 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/19.14, allocations: 63.59 kB / 7.286 GB, free: 49.34 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/19.14, allocations: 246.8 kB / 7.286 GB, free: 49.24 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/19.14, allocations: 25.7 kB / 7.286 GB, free: 49.21 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/19.14, allocations: 223.7 kB / 7.286 GB, free: 49.06 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/19.14, allocations: 174.8 kB / 7.287 GB, free: 48.97 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/19.14, allocations: 0 / 7.287 GB, free: 48.97 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/19.14, allocations: 346.8 kB / 7.287 GB, free: 48.66 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/19.14, allocations: 175.3 kB / 7.287 GB, free: 48.66 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/19.14, allocations: 310 kB / 7.287 GB, free: 48.49 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/19.14, allocations: 332.3 kB / 7.288 GB, free: 48.48 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/19.14, allocations: 1.312 kB / 7.288 GB, free: 48.48 MB / 0.589 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004957/19.15, allocations: 0.7891 MB / 7.288 GB, free: 48.39 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/19.15, allocations: 6.188 kB / 7.288 GB, free: 48.39 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/19.15, allocations: 4.688 kB / 7.288 GB, free: 48.39 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/19.15, allocations: 91.89 kB / 7.289 GB, free: 48.37 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/19.15, allocations: 156.3 kB / 7.289 GB, free: 48.36 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/19.15, allocations: 2.967 MB / 7.292 GB, free: 45.54 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/19.15, allocations: 36.73 kB / 7.292 GB, free: 45.53 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/19.15, allocations: 32.48 kB / 7.292 GB, free: 45.53 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/19.15, allocations: 122.7 kB / 7.292 GB, free: 45.42 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/19.15, allocations: 93.58 kB / 7.292 GB, free: 45.4 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/19.16, allocations: 1.184 MB / 7.293 GB, free: 45.25 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/19.16, allocations: 20.2 kB / 7.293 GB, free: 45.24 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/19.16, allocations: 5.25 kB / 7.293 GB, free: 45.24 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003269/19.16, allocations: 1.127 MB / 7.294 GB, free: 44.85 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/19.17, allocations: 1.708 MB / 7.296 GB, free: 43.93 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/19.17, allocations: 4.062 kB / 7.296 GB, free: 43.92 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/19.17, allocations: 98.36 kB / 7.296 GB, free: 43.85 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/19.17, allocations: 111.3 kB / 7.296 GB, free: 43.78 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/19.17, allocations: 16.12 kB / 7.296 GB, free: 43.77 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008336/19.17, allocations: 1.183 MB / 7.297 GB, free: 42.64 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/19.17, allocations: 0 / 7.297 GB, free: 42.64 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004113/19.17, allocations: 1.312 MB / 7.298 GB, free: 41.8 MB / 0.589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005295/19.18, allocations: 2.113 MB / 7.301 GB, free: 40.43 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/19.18, allocations: 123.3 kB / 7.301 GB, free: 40.3 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/19.18, allocations: 4 kB / 7.301 GB, free: 40.3 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/19.18, allocations: 21.86 kB / 7.301 GB, free: 40.29 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/19.18, allocations: 33.64 kB / 7.301 GB, free: 40.27 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/19.18, allocations: 23.3 kB / 7.301 GB, free: 40.25 MB / 0.589 GB Notification: Performance of sort global known variables: time 0.0002795/19.18, allocations: 192.5 kB / 7.301 GB, free: 40.11 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.02488/19.2, allocations: 1.318 MB / 7.302 GB, free: 39.19 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.4043/19.61, allocations: 45.61 MB / 7.347 GB, free: 10.58 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.006967/19.62, allocations: 0.7634 MB / 7.348 GB, free: 10.08 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/19.62, allocations: 1.781 kB / 7.348 GB, free: 10.08 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/19.62, allocations: 455.2 kB / 7.348 GB, free: 9.852 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/19.62, allocations: 203.8 kB / 7.348 GB, free: 9.727 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/19.63, allocations: 1.063 MB / 7.349 GB, free: 8.91 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004542/19.64, allocations: 0.938 MB / 7.35 GB, free: 8.031 MB / 0.6046 GB Notification: Performance of SimCode: time 1.533e-06/19.64, allocations: 0 / 7.35 GB, free: 8.031 MB / 0.6046 GB