Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTestImplementation,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_AirTestImplementation",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.297/4.297, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2687/4.566, allocations: 94.98 MB / 0.4941 GB, free: 7.383 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/5.125, allocations: 92.68 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.908/11.03, allocations: 2.149 GB / 2.734 GB, free: 68.08 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/11.03, allocations: 68.95 kB / 2.734 GB, free: 68.04 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 1.483/12.52, allocations: 239.6 MB / 2.968 GB, free: 132.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/12.52, allocations: 16 kB / 2.968 GB, free: 132.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/12.52, allocations: 59.42 kB / 2.968 GB, free: 132.9 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/12.52, allocations: 326.2 kB / 2.968 GB, free: 132.5 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/12.52, allocations: 12 kB / 2.968 GB, free: 132.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/12.52, allocations: 20 kB / 2.968 GB, free: 132.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/12.52, allocations: 325.4 kB / 2.968 GB, free: 132.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/12.52, allocations: 338 kB / 2.969 GB, free: 131.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/12.52, allocations: 0 / 2.969 GB, free: 131.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/12.52, allocations: 0 / 2.969 GB, free: 131.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/12.52, allocations: 12 kB / 2.969 GB, free: 131.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/12.52, allocations: 1.47 MB / 2.97 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/12.52, allocations: 210.5 kB / 2.97 GB, free: 130 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/12.53, allocations: 153.3 kB / 2.97 GB, free: 129.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/12.53, allocations: 8.219 kB / 2.97 GB, free: 129.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/12.53, allocations: 46.83 kB / 2.97 GB, free: 129.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/12.53, allocations: 0 / 2.97 GB, free: 129.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39): time 0.004092/12.53, allocations: 1.033 MB / 2.971 GB, free: 128.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/12.53, allocations: 55.41 kB / 2.972 GB, free: 128.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/12.53, allocations: 216.1 kB / 2.972 GB, free: 128.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/12.53, allocations: 25.7 kB / 2.972 GB, free: 128.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/12.53, allocations: 188.2 kB / 2.972 GB, free: 128.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/12.53, allocations: 130 kB / 2.972 GB, free: 128.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/12.53, allocations: 0 / 2.972 GB, free: 128.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/12.53, allocations: 338.8 kB / 2.972 GB, free: 127.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/12.53, allocations: 132.8 kB / 2.973 GB, free: 127.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/12.53, allocations: 180.1 kB / 2.973 GB, free: 127.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/12.53, allocations: 169.5 kB / 2.973 GB, free: 127.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/12.53, allocations: 0 / 2.973 GB, free: 127.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001311/12.53, allocations: 431.9 kB / 2.973 GB, free: 126.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/12.53, allocations: 8.844 kB / 2.973 GB, free: 126.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/12.53, allocations: 4 kB / 2.973 GB, free: 126.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/12.53, allocations: 45.83 kB / 2.973 GB, free: 126.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/12.53, allocations: 91.89 kB / 2.973 GB, free: 126.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/12.54, allocations: 2.492 MB / 2.976 GB, free: 123.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/12.54, allocations: 27.98 kB / 2.976 GB, free: 123.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/12.54, allocations: 12 kB / 2.976 GB, free: 123.9 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 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 prepare postOptimizeDAE: time 0.0002993/12.54, allocations: 132.5 kB / 2.976 GB, free: 123.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/12.54, allocations: 35.62 kB / 2.976 GB, free: 123.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/12.54, allocations: 38.95 kB / 2.976 GB, free: 123.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/12.54, allocations: 11.88 kB / 2.976 GB, free: 123.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/12.54, allocations: 0 / 2.976 GB, free: 123.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009447/12.54, allocations: 0.5494 MB / 2.977 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/12.54, allocations: 0.9567 MB / 2.978 GB, free: 122 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/12.54, allocations: 4.188 kB / 2.978 GB, free: 122 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/12.54, allocations: 91.88 kB / 2.978 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/12.54, allocations: 4 kB / 2.978 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/12.54, allocations: 11.94 kB / 2.978 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/12.54, allocations: 4 kB / 2.978 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/12.54, allocations: 7.906 kB / 2.978 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001533/12.54, allocations: 0.7262 MB / 2.978 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002162/12.55, allocations: 1.3 MB / 2.98 GB, free: 119.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/12.55, allocations: 156.7 kB / 2.98 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/12.55, allocations: 8 kB / 2.98 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/12.55, allocations: 31.91 kB / 2.98 GB, free: 119.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/12.55, allocations: 23.81 kB / 2.98 GB, free: 119.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/12.55, allocations: 27.98 kB / 2.98 GB, free: 119.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002542/12.55, allocations: 172.5 kB / 2.98 GB, free: 119.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002712/12.55, allocations: 296 kB / 2.98 GB, free: 119 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.002064/12.55, allocations: 1.175 MB / 2.981 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001675/12.56, allocations: 0.5229 MB / 2.982 GB, free: 117.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/12.56, allocations: 0 / 2.982 GB, free: 117.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/12.56, allocations: 175.7 kB / 2.982 GB, free: 117.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/12.56, allocations: 161.5 kB / 2.982 GB, free: 117 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/12.56, allocations: 0.762 MB / 2.983 GB, free: 116.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/12.57, allocations: 0.8777 MB / 2.984 GB, free: 115.2 MB / 0.7605 GB Notification: Performance of SimCode: time 1.834e-06/12.57, allocations: 0 / 2.984 GB, free: 115.2 MB / 0.7605 GB