Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.719/4.719, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2494/4.969, allocations: 95 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/5.549, allocations: 92.67 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/5.792, allocations: 120.3 MB / 0.702 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/5.792, allocations: 71.95 kB / 0.7021 GB, free: 13.34 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.009865/5.802, allocations: 1.601 MB / 0.7037 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/5.802, allocations: 12 kB / 0.7037 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/5.802, allocations: 11.84 kB / 0.7037 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/5.803, allocations: 186.9 kB / 0.7039 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/5.803, allocations: 8 kB / 0.7039 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/5.803, allocations: 8.172 kB / 0.7039 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002632/5.803, allocations: 55.94 kB / 0.7039 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/5.803, allocations: 89.64 kB / 0.704 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/5.803, allocations: 3.938 kB / 0.704 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/5.803, allocations: 4 kB / 0.704 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/5.803, allocations: 0 / 0.704 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009517/5.804, allocations: 321.3 kB / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/5.805, allocations: 70.5 kB / 0.7044 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/5.805, allocations: 52.97 kB / 0.7044 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/5.805, allocations: 4 kB / 0.7044 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/5.805, allocations: 99.28 kB / 0.7045 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 5.189e-06/5.805, allocations: 3.984 kB / 0.7045 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004622/5.806, allocations: 101.6 kB / 0.7046 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/5.806, allocations: 85.11 kB / 0.7047 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/5.806, allocations: 113 kB / 0.7048 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/5.806, allocations: 29.7 kB / 0.7049 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/5.806, allocations: 96.03 kB / 0.705 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/5.806, allocations: 11.84 kB / 0.705 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/5.806, allocations: 8 kB / 0.705 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001513/5.806, allocations: 318.7 kB / 0.7053 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/5.807, allocations: 47.94 kB / 0.7053 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/5.807, allocations: 47.92 kB / 0.7054 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/5.807, allocations: 23.98 kB / 0.7054 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/5.807, allocations: 0 / 0.7054 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004509/5.807, allocations: 121.6 kB / 0.7055 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/5.807, allocations: 8 kB / 0.7055 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/5.807, allocations: 3.938 kB / 0.7055 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/5.807, allocations: 0 / 0.7055 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/5.808, allocations: 19.98 kB / 0.7055 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/5.808, allocations: 0 / 0.7055 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/5.808, allocations: 39.94 kB / 0.7056 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/5.808, allocations: 8.094 kB / 0.7056 GB, free: 9.543 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001922/5.808, allocations: 144.9 kB / 0.7057 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/5.808, allocations: 11.91 kB / 0.7057 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/5.809, allocations: 16.36 kB / 0.7057 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/5.809, allocations: 0 / 0.7057 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/5.809, allocations: 0 / 0.7057 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/5.809, allocations: 0 / 0.7057 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/5.809, allocations: 170.1 kB / 0.7059 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/5.809, allocations: 0 / 0.7059 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/5.809, allocations: 23.97 kB / 0.7059 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/5.809, allocations: 0 / 0.7059 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/5.809, allocations: 4 kB / 0.7059 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/5.809, allocations: 0 / 0.7059 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/5.809, allocations: 0 / 0.7059 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003929/5.81, allocations: 133 kB / 0.7061 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000517/5.81, allocations: 0.5091 MB / 0.7066 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/5.81, allocations: 85.02 kB / 0.7066 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/5.81, allocations: 0 / 0.7066 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/5.811, allocations: 31.97 kB / 0.7067 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/5.811, allocations: 43.89 kB / 0.7067 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/5.811, allocations: 4 kB / 0.7067 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.329e-05/5.811, allocations: 95.27 kB / 0.7068 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001431/5.812, allocations: 24 kB / 0.7068 GB, free: 8.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0002047/5.813, allocations: 107 kB / 0.7069 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005193/5.813, allocations: 167.4 kB / 0.7071 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/5.813, allocations: 0 / 0.7071 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/5.813, allocations: 89.69 kB / 0.7072 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/5.814, allocations: 20.08 kB / 0.7072 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007306/5.815, allocations: 135.6 kB / 0.7073 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/5.815, allocations: 0.7114 MB / 0.708 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of SimCode: time 1.333e-06/5.815, allocations: 4 kB / 0.708 GB, free: 6.859 MB / 0.5886 GB