Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.027/4.027, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2857/4.313, allocations: 95.01 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/4.867, allocations: 92.66 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.603/10.47, allocations: 2.206 GB / 2.791 GB, free: 70.84 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/10.47, allocations: 94.75 kB / 2.791 GB, free: 70.79 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 4.322/14.79, allocations: 0.7841 GB / 3.575 GB, free: 105 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/14.79, allocations: 11.81 kB / 3.575 GB, free: 105 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009563/14.8, allocations: 0.4992 MB / 3.576 GB, free: 104.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/14.81, allocations: 1.963 MB / 3.578 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/14.82, allocations: 31.44 kB / 3.578 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007824/14.82, allocations: 69.44 kB / 3.578 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005621/14.82, allocations: 0.9248 MB / 3.579 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006465/14.83, allocations: 1.12 MB / 3.58 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.083e-05/14.83, allocations: 0 / 3.58 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/14.83, allocations: 0 / 3.58 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.163e-05/14.83, allocations: 37.8 kB / 3.58 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/14.85, allocations: 5.22 MB / 3.585 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/14.85, allocations: 0.7977 MB / 3.586 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/14.85, allocations: 443 kB / 3.586 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/14.85, allocations: 102.7 kB / 3.586 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/14.86, allocations: 0.5195 MB / 3.587 GB, free: 101.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=70): time 4.558e-06/14.86, allocations: 0 / 3.587 GB, free: 101.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=70): time 0.007198/14.86, allocations: 0.966 MB / 3.588 GB, free: 101.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/14.86, allocations: 380.3 kB / 3.588 GB, free: 101 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/14.87, allocations: 0.9281 MB / 3.589 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000442/14.87, allocations: 29.36 kB / 3.589 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007717/14.87, allocations: 487.7 kB / 3.589 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000598/14.87, allocations: 233 kB / 3.59 GB, free: 100.4 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/14.87, allocations: 3.812 kB / 3.59 GB, free: 100.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001512/14.87, allocations: 341 kB / 3.59 GB, free: 100.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/14.87, allocations: 337.2 kB / 3.59 GB, free: 100.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/14.87, allocations: 0.6454 MB / 3.591 GB, free: 99.71 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/14.87, allocations: 450 kB / 3.591 GB, free: 99.69 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/14.87, allocations: 0 / 3.591 GB, free: 99.69 MB / 0.7917 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00572/14.88, allocations: 1.17 MB / 3.593 GB, free: 99.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005608/14.88, allocations: 2.302 MB / 3.595 GB, free: 97.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/14.88, allocations: 17.78 kB / 3.595 GB, free: 97.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/14.88, allocations: 111.3 kB / 3.595 GB, free: 97.15 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/14.88, allocations: 249.8 kB / 3.595 GB, free: 97.14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/14.89, allocations: 1.332 MB / 3.596 GB, free: 96.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/14.89, allocations: 142.3 kB / 3.597 GB, free: 95.99 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/14.89, allocations: 54.84 kB / 3.597 GB, free: 95.99 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/14.89, allocations: 5.406 kB / 3.597 GB, free: 95.99 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003995/14.9, allocations: 0.9056 MB / 3.597 GB, free: 95.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/14.9, allocations: 5 kB / 3.597 GB, free: 95.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009286/14.9, allocations: 113.7 kB / 3.598 GB, free: 95.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/14.9, allocations: 199.4 kB / 3.598 GB, free: 95.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007726/14.91, allocations: 2.605 MB / 3.6 GB, free: 94.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/14.91, allocations: 114.6 kB / 3.6 GB, free: 94.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/14.91, allocations: 50.44 kB / 3.6 GB, free: 94.21 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000539/14.91, allocations: 136.4 kB / 3.601 GB, free: 94.09 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/14.91, allocations: 132.2 kB / 3.601 GB, free: 94.02 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/14.91, allocations: 0.9056 MB / 3.602 GB, free: 93.93 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/14.91, allocations: 7.719 kB / 3.602 GB, free: 93.93 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/14.91, allocations: 0 / 3.602 GB, free: 93.93 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003507/14.92, allocations: 0.7929 MB / 3.602 GB, free: 93.75 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006705/14.92, allocations: 1.525 MB / 3.604 GB, free: 93.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/14.93, allocations: 11.12 kB / 3.604 GB, free: 93.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005237/14.93, allocations: 214.3 kB / 3.604 GB, free: 93.26 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/14.93, allocations: 68.3 kB / 3.604 GB, free: 93.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/14.93, allocations: 15.36 kB / 3.604 GB, free: 93.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/14.94, allocations: 1.952 MB / 3.606 GB, free: 91.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/14.94, allocations: 0 / 3.606 GB, free: 91.48 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006466/14.94, allocations: 1.357 MB / 3.607 GB, free: 91.2 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008009/14.95, allocations: 2.258 MB / 3.61 GB, free: 90.57 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/14.95, allocations: 298.4 kB / 3.61 GB, free: 90.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/14.95, allocations: 9.344 kB / 3.61 GB, free: 90.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/14.96, allocations: 86.19 kB / 3.61 GB, free: 90.39 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/14.96, allocations: 48.48 kB / 3.61 GB, free: 90.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/14.96, allocations: 34 kB / 3.61 GB, free: 90.39 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.00211/14.96, allocations: 0.7003 MB / 3.611 GB, free: 90.28 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01156/14.97, allocations: 1.682 MB / 3.612 GB, free: 90.11 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009973/14.98, allocations: 2.903 MB / 3.615 GB, free: 89.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01048/14.99, allocations: 1.615 MB / 3.617 GB, free: 88.91 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/14.99, allocations: 3.906 kB / 3.617 GB, free: 88.91 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003878/15, allocations: 446.6 kB / 3.617 GB, free: 88.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005419/15, allocations: 0.5592 MB / 3.618 GB, free: 88.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/15.01, allocations: 2.098 MB / 3.62 GB, free: 88.32 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/15.01, allocations: 1.465 MB / 3.621 GB, free: 87.59 MB / 0.7917 GB Notification: Performance of SimCode: time 1.794e-06/15.01, allocations: 0 / 3.621 GB, free: 87.59 MB / 0.7917 GB