Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Air_Examples_PerfectGasTestImplementation",fmuType="me",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(Buildings): time 4.452/4.452, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3101/4.763, allocations: 95 MB / 0.4941 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/5.313, allocations: 92.68 MB / 0.5846 GB, free: 3.43 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.79/18.1, allocations: 4.646 GB / 5.231 GB, free: 130.4 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/18.1, allocations: 86.08 kB / 5.231 GB, free: 130.4 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 1.579/19.68, allocations: 251.6 MB / 5.476 GB, free: 180.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/19.68, allocations: 8 kB / 5.476 GB, free: 180.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/19.68, allocations: 59.5 kB / 5.476 GB, free: 180.8 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/19.68, allocations: 333.8 kB / 5.477 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/19.68, allocations: 11.94 kB / 5.477 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/19.68, allocations: 24 kB / 5.477 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/19.69, allocations: 357.4 kB / 5.477 GB, free: 180.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/19.69, allocations: 334.1 kB / 5.477 GB, free: 179.7 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/19.69, allocations: 4 kB / 5.477 GB, free: 179.7 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/19.69, allocations: 7.5 kB / 5.477 GB, free: 179.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/19.69, allocations: 11.91 kB / 5.477 GB, free: 179.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/19.69, allocations: 1.482 MB / 5.479 GB, free: 178.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/19.69, allocations: 213.9 kB / 5.479 GB, free: 177.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/19.69, allocations: 145 kB / 5.479 GB, free: 177.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/19.69, allocations: 15.36 kB / 5.479 GB, free: 177.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/19.69, allocations: 38.56 kB / 5.479 GB, free: 177.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 3.036e-06/19.69, allocations: 0 / 5.479 GB, free: 177.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=41): time 0.008142/19.7, allocations: 1.245 MB / 5.48 GB, free: 176.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/19.7, allocations: 63.19 kB / 5.48 GB, free: 176.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/19.7, allocations: 220.7 kB / 5.481 GB, free: 176.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/19.7, allocations: 25.7 kB / 5.481 GB, free: 176.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/19.7, allocations: 188.1 kB / 5.481 GB, free: 175.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/19.7, allocations: 130 kB / 5.481 GB, free: 175.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/19.7, allocations: 0 / 5.481 GB, free: 175.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001417/19.7, allocations: 350.6 kB / 5.481 GB, free: 175.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/19.7, allocations: 152.8 kB / 5.482 GB, free: 175.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/19.7, allocations: 203.3 kB / 5.482 GB, free: 175 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000976/19.7, allocations: 184.7 kB / 5.482 GB, free: 174.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/19.7, allocations: 0 / 5.482 GB, free: 174.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002703/19.71, allocations: 0.513 MB / 5.482 GB, free: 174.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/19.71, allocations: 11.94 kB / 5.482 GB, free: 174.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/19.71, allocations: 0 / 5.482 GB, free: 174.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00092/19.71, allocations: 90.52 kB / 5.482 GB, free: 174.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/19.71, allocations: 119.9 kB / 5.483 GB, free: 174.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/19.72, allocations: 3.963 MB / 5.486 GB, free: 169.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008597/19.72, allocations: 27.97 kB / 5.486 GB, free: 169.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/19.72, allocations: 16 kB / 5.487 GB, free: 169.8 MB / 0.7605 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003729/19.72, allocations: 125.8 kB / 5.487 GB, free: 169.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/19.72, allocations: 31.62 kB / 5.487 GB, free: 169.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/19.72, allocations: 47.08 kB / 5.487 GB, free: 169.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/19.72, allocations: 4 kB / 5.487 GB, free: 169.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/19.72, allocations: 0 / 5.487 GB, free: 169.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001395/19.72, allocations: 0.6283 MB / 5.487 GB, free: 168.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/19.72, allocations: 1.045 MB / 5.488 GB, free: 167.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/19.72, allocations: 0 / 5.488 GB, free: 167.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/19.72, allocations: 119.8 kB / 5.488 GB, free: 167.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/19.72, allocations: 60.97 kB / 5.489 GB, free: 167.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/19.72, allocations: 4 kB / 5.489 GB, free: 167.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/19.73, allocations: 1.509 MB / 5.49 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/19.73, allocations: 96 / 5.49 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002081/19.73, allocations: 0.8012 MB / 5.491 GB, free: 165.1 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002828/19.73, allocations: 1.42 MB / 5.492 GB, free: 163.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/19.73, allocations: 160.8 kB / 5.492 GB, free: 163.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/19.73, allocations: 7.906 kB / 5.492 GB, free: 163.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/19.73, allocations: 23.91 kB / 5.492 GB, free: 163.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/19.73, allocations: 27.97 kB / 5.492 GB, free: 163.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/19.73, allocations: 19.98 kB / 5.492 GB, free: 163.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002678/19.73, allocations: 176.5 kB / 5.493 GB, free: 163.1 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002994/19.74, allocations: 299.9 kB / 5.493 GB, free: 162.9 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001979/19.74, allocations: 1.172 MB / 5.494 GB, free: 161.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001744/19.74, allocations: 0.6792 MB / 5.495 GB, free: 161.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/19.74, allocations: 0 / 5.495 GB, free: 161.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/19.74, allocations: 314 kB / 5.495 GB, free: 160.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/19.74, allocations: 157.6 kB / 5.495 GB, free: 160.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/19.75, allocations: 0.8548 MB / 5.496 GB, free: 159.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/19.75, allocations: 0.8897 MB / 5.497 GB, free: 158.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.353e-06/19.75, allocations: 3.938 kB / 5.497 GB, free: 158.8 MB / 0.7605 GB