Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",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.609/4.609, allocations: 403.9 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2421/4.851, allocations: 95.05 MB / 0.4941 GB, free: 7.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/5.386, allocations: 92.69 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/5.659, allocations: 130.5 MB / 0.7121 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004726/5.66, allocations: 107.9 kB / 0.7122 GB, free: 3.07 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.07393/5.734, allocations: 15.99 MB / 0.7278 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/5.734, allocations: 12 kB / 0.7278 GB, free: 3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/5.734, allocations: 142.3 kB / 0.7279 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/5.736, allocations: 0.5879 MB / 0.7285 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/5.736, allocations: 59.92 kB / 0.7286 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/5.736, allocations: 79.94 kB / 0.7286 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003781/5.74, allocations: 0.8879 MB / 0.7295 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/5.744, allocations: 0.8736 MB / 0.7304 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/5.744, allocations: 0 / 0.7304 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/5.744, allocations: 0 / 0.7304 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/5.744, allocations: 32 kB / 0.7304 GB, free: 284 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/5.755, allocations: 2.958 MB / 0.7333 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/5.757, allocations: 0.5042 MB / 0.7338 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/5.758, allocations: 270.8 kB / 0.734 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/5.758, allocations: 8.656 kB / 0.734 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/5.76, allocations: 382.8 kB / 0.7344 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 4.518e-06/5.76, allocations: 0 / 0.7344 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69): time 0.00216/5.762, allocations: 0.6011 MB / 0.735 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/5.762, allocations: 115.5 kB / 0.7351 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/5.763, allocations: 489.8 kB / 0.7356 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/5.763, allocations: 29.64 kB / 0.7356 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/5.764, allocations: 467.7 kB / 0.736 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/5.764, allocations: 212.8 kB / 0.7362 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/5.765, allocations: 0 / 0.7362 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002431/5.765, allocations: 374.8 kB / 0.7366 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/5.766, allocations: 265.5 kB / 0.7369 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/5.767, allocations: 316.7 kB / 0.7372 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/5.768, allocations: 276.5 kB / 0.7374 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/5.768, allocations: 0 / 0.7374 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002334/5.77, allocations: 0.6776 MB / 0.7381 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/5.77, allocations: 15.06 kB / 0.7381 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/5.77, allocations: 3.984 kB / 0.7381 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/5.77, allocations: 4 kB / 0.7381 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/5.772, allocations: 127.8 kB / 0.7382 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/5.772, allocations: 4 kB / 0.7382 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/5.773, allocations: 107.5 kB / 0.7383 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/5.773, allocations: 20 kB / 0.7383 GB, free: 7.961 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,actAirSet_RehBox.greThr.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox1.greThr.y,$PRE.winSta.pulseStart,winSta.pulseStart,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002548/5.774, allocations: 131.3 kB / 0.7385 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/5.774, allocations: 63.25 kB / 0.7385 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/5.776, allocations: 0.604 MB / 0.7391 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/5.776, allocations: 8 kB / 0.7391 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/5.776, allocations: 0 / 0.7391 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/5.776, allocations: 7.922 kB / 0.7391 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/5.782, allocations: 2.292 MB / 0.7414 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/5.782, allocations: 4.75 kB / 0.7414 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/5.784, allocations: 135.8 kB / 0.7415 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/5.784, allocations: 12 kB / 0.7415 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/5.784, allocations: 8 kB / 0.7415 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/5.784, allocations: 11.94 kB / 0.7415 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/5.784, allocations: 11.84 kB / 0.7416 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002551/5.786, allocations: 1.184 MB / 0.7427 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002687/5.789, allocations: 1.565 MB / 0.7442 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/5.789, allocations: 156.1 kB / 0.7444 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/5.789, allocations: 11.98 kB / 0.7444 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/5.79, allocations: 55.95 kB / 0.7445 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/5.791, allocations: 56.28 kB / 0.7445 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/5.791, allocations: 27.98 kB / 0.7445 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007757/5.792, allocations: 342.9 kB / 0.7449 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002181/5.794, allocations: 206.8 kB / 0.7451 GB, free: 472 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,actAirSet_RehBox.uWin,actAirSet_RehBox.greThr.y,actAirSet_RehBox1.greThr.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002529/5.794, allocations: 130.6 kB / 0.7452 GB, free: 332 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002201/5.796, allocations: 0.6427 MB / 0.7458 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/5.796, allocations: 0 / 0.7458 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/5.798, allocations: 377.3 kB / 0.7462 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/5.8, allocations: 75.55 kB / 0.7462 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007962/5.808, allocations: 1.37 MB / 0.7476 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/5.81, allocations: 1.157 MB / 0.7487 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/5.81, allocations: 4 kB / 0.7487 GB, free: 12.56 MB / 0.6355 GB