Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_SetPoints_Validation_ZoneTemperatures",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.583/4.583, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2973/4.881, allocations: 95.04 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/5.427, allocations: 92.67 MB / 0.5846 GB, free: 3.441 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/5.711, allocations: 138.2 MB / 0.7196 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004312/5.712, allocations: 103.9 kB / 0.7197 GB, free: 11.37 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.1026/5.815, allocations: 21.29 MB / 0.7405 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/5.815, allocations: 12 kB / 0.7405 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/5.815, allocations: 170 kB / 0.7406 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/5.817, allocations: 0.6533 MB / 0.7413 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/5.817, allocations: 63.94 kB / 0.7413 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/5.818, allocations: 95.98 kB / 0.7414 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004145/5.822, allocations: 0.9628 MB / 0.7424 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004212/5.826, allocations: 1.189 MB / 0.7435 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/5.826, allocations: 0 / 0.7435 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/5.826, allocations: 11.91 kB / 0.7435 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/5.826, allocations: 36 kB / 0.7436 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/5.839, allocations: 4.361 MB / 0.7478 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/5.842, allocations: 0.696 MB / 0.7485 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/5.843, allocations: 327.2 kB / 0.7488 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.473e-05/5.843, allocations: 16.84 kB / 0.7488 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/5.844, allocations: 422.8 kB / 0.7492 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=99): time 4.619e-06/5.844, allocations: 3.938 kB / 0.7492 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99): time 0.002527/5.847, allocations: 0.6977 MB / 0.7499 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/5.847, allocations: 72.39 kB / 0.75 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/5.848, allocations: 0.5612 MB / 0.7505 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/5.849, allocations: 45.69 kB / 0.7506 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/5.849, allocations: 0.4992 MB / 0.7511 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/5.85, allocations: 264.3 kB / 0.7513 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/5.85, allocations: 4 kB / 0.7513 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002515/5.85, allocations: 394.7 kB / 0.7517 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/5.851, allocations: 310.6 kB / 0.752 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/5.853, allocations: 0.4994 MB / 0.7525 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/5.854, allocations: 322.3 kB / 0.7528 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/5.854, allocations: 3.906 kB / 0.7528 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003402/5.857, allocations: 0.8999 MB / 0.7537 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009694/5.858, allocations: 1.83 MB / 0.7555 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/5.858, allocations: 4 kB / 0.7555 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.778e-05/5.858, allocations: 15.98 kB / 0.7555 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/5.861, allocations: 187.7 kB / 0.7557 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/5.861, allocations: 15.92 kB / 0.7557 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/5.862, allocations: 123.4 kB / 0.7558 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/5.862, allocations: 36 kB / 0.7558 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/5.862, allocations: 5.094 kB / 0.7558 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002649/5.865, allocations: 0.7698 MB / 0.7566 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/5.865, allocations: 8.625 kB / 0.7566 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/5.865, allocations: 12 kB / 0.7566 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/5.866, allocations: 163.7 kB / 0.7568 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/5.867, allocations: 19.92 kB / 0.7568 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/5.868, allocations: 103.3 kB / 0.7569 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/5.868, allocations: 47.98 kB / 0.7569 GB, free: 4.574 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 84 ($PRE.TSetZon.truHol.onDelay.u,$PRE.TSetZon.truHol.toOutputTrue.enableFire,$PRE.TSetZon.truHol.toInitial.enableFire,$whenCondition4,$PRE.TSetZon.truHol.onDelay.t_next,$whenCondition2,$whenCondition1,TSetZon.truHol.onDelay.t_next,TSetZon.truHol.stateGraphRoot.resume,TSetZon.truHol.stateGraphRoot.suspend,TSetZon.winSenCon.y,TSetZon.have_occSenCon.y,TSetZon.heaSetAdjCon.y,TSetZon.cooSetAdjCon.y,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,TSetZon.uOpeMod,TSetZon.yAla,$PRE.TSetZon.cooSetFre.y,TSetZon.cooSetFre.y,TSetZon.cooSetFre.trigger,TSetZon.or5.y,$PRE.TSetZon.heaSetFre.y,TSetZon.heaSetFre.y,TSetZon.tim.u,$PRE.TSetZon.tim.entryTime,TSetZon.tim.entryTime,TSetZon.truHol.stateGraphRoot.activeSteps,TSetZon.truHol.onDelay.u,TSetZon.truHol.onDelay.y,$PRE.TSetZon.truHol.initialStep.localActive,TSetZon.truHol.initialStep.localActive,$PRE.TSetZon.truHol.initialStep.newActive,TSetZon.truHol.initialStep.newActive,$PRE.TSetZon.truHol.initialStep.oldActive,TSetZon.truHol.initialStep.oldActive,TSetZon.truHol.initialStep.active,$PRE.TSetZon.truHol.outputTrue.localActive,TSetZon.truHol.outputTrue.localActive,$PRE.TSetZon.truHol.outputTrue.newActive,TSetZon.truHol.outputTrue.newActive,$PRE.TSetZon.truHol.outputTrue.oldActive,TSetZon.truHol.outputTrue.oldActive,TSetZon.truHol.outputTrue.active,TSetZon.truHol.toOutputTrue.enableFire,TSetZon.truHol.toInitial.enableFire,$PRE.TSetZon.edg1.u,TSetZon.edg1.u,$PRE.TSetZon.cooSetSam.y,TSetZon.cooSetSam.y,TSetZon.cooSetSam.trigger,$PRE.TSetZon.heaSetSam.y,TSetZon.heaSetSam.y,TSetZon.greThr.y,TSetZon.intEqu.y,TSetZon.intEqu1.y,TSetZon.or3.y,TSetZon.and11.u1,TSetZon.and11.y,TSetZon.lesEqu.y,TSetZon.greEqu1.y,TSetZon.greEqu2.y,TSetZon.uOccSen,TSetZon.uWinSta,booToInt.u,$PRE.winSta.pulseStart,winSta.pulseStart,$PRE.occSta.pulseStart,occSta.pulseStart,$PRE.TSetZon.edg.u,TSetZon.edg.u,TSetZon.not1.y,TSetZon.not2.y,TSetZon.or1.u3,TSetZon.or1.u2,TSetZon.or1.u1,TSetZon.or2.u2,TSetZon.or2.u1,TSetZon.or4.u1,TSetZon.or4.u3,TSetZon.or4.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 149 * 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.0004283/5.868, allocations: 172.7 kB / 0.7571 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/5.869, allocations: 90.89 kB / 0.7572 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/5.872, allocations: 0.7392 MB / 0.7579 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/5.872, allocations: 15.98 kB / 0.7579 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/5.872, allocations: 3.906 kB / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/5.872, allocations: 3.984 kB / 0.7579 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006372/5.879, allocations: 1.922 MB / 0.7598 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/5.879, allocations: 0 / 0.7598 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/5.88, allocations: 139.8 kB / 0.7599 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/5.88, allocations: 7.984 kB / 0.7599 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.973e-05/5.88, allocations: 4 kB / 0.76 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/5.88, allocations: 7.984 kB / 0.76 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/5.88, allocations: 0 / 0.76 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002517/5.883, allocations: 0.8918 MB / 0.7608 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002625/5.885, allocations: 1.261 MB / 0.7621 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/5.886, allocations: 167.9 kB / 0.7622 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/5.886, allocations: 7.984 kB / 0.7622 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/5.887, allocations: 67.94 kB / 0.7623 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/5.887, allocations: 100.5 kB / 0.7624 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/5.887, allocations: 31.98 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008099/5.888, allocations: 363.2 kB / 0.7628 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004386/5.893, allocations: 422.1 kB / 0.7632 GB, free: 14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 50 (TSetZon.cooSetFre.trigger,TSetZon.truHol.initialStep.localActive,TSetZon.truHol.outputTrue.active,TSetZon.truHol.onDelay.u,TSetZon.cooSetSam.trigger,TSetZon.truHol.outputTrue.localActive,TSetZon.tim.u,$cse1,$cse2,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,TSetZon.uOpeMod,TSetZon.yAla,TSetZon.cooSetFre.y,TSetZon.heaSetFre.y,TSetZon.tim.entryTime,TSetZon.truHol.stateGraphRoot.activeSteps,TSetZon.truHol.onDelay.y,TSetZon.truHol.onDelay.t_next,TSetZon.truHol.initialStep.newActive,TSetZon.truHol.initialStep.oldActive,TSetZon.truHol.initialStep.active,TSetZon.truHol.outputTrue.newActive,TSetZon.truHol.outputTrue.oldActive,TSetZon.truHol.toOutputTrue.enableFire,TSetZon.truHol.toInitial.enableFire,TSetZon.edg1.u,TSetZon.cooSetSam.y,TSetZon.heaSetSam.y,TSetZon.greThr.y,TSetZon.intEqu.y,TSetZon.intEqu1.y,TSetZon.or3.y,TSetZon.and11.u1,TSetZon.and11.y,TSetZon.lesEqu.y,TSetZon.greEqu1.y,TSetZon.greEqu2.y,TSetZon.uOccSen,TSetZon.uWinSta,booToInt.u,winSta.pulseStart,occSta.pulseStart,TSetZon.or5.y) * Number of discrete states: 4 (TSetZon.truHol.onDelay.t_next,TSetZon.truHol.outputTrue.newActive,TSetZon.edg1.u,TSetZon.truHol.initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0003949/5.893, allocations: 163.5 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004278/5.897, allocations: 1.327 MB / 0.7646 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/5.897, allocations: 0 / 0.7646 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/5.899, allocations: 454.7 kB / 0.7651 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/5.9, allocations: 71.31 kB / 0.7651 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/5.906, allocations: 1.432 MB / 0.7665 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/5.908, allocations: 1.219 MB / 0.7677 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/5.908, allocations: 0 / 0.7677 GB, free: 9.277 MB / 0.6511 GB