Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode",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.533/4.533, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2747/4.808, allocations: 95.05 MB / 0.4941 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/5.304, allocations: 92.68 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/5.615, allocations: 133.4 MB / 0.7149 GB, free: 248 kB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005224/5.615, allocations: 99.92 kB / 0.715 GB, free: 148 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.1419/5.757, allocations: 16.05 MB / 0.7307 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/5.757, allocations: 16 kB / 0.7307 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/5.758, allocations: 150.4 kB / 0.7308 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/5.762, allocations: 0.6335 MB / 0.7315 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005955/5.762, allocations: 210.5 kB / 0.7317 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006395/5.763, allocations: 91.97 kB / 0.7318 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005585/5.769, allocations: 0.8825 MB / 0.7326 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006131/5.775, allocations: 1.063 MB / 0.7337 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/5.775, allocations: 4 kB / 0.7337 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/5.775, allocations: 7.984 kB / 0.7337 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/5.775, allocations: 24 kB / 0.7337 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/5.791, allocations: 2.839 MB / 0.7365 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006341/5.798, allocations: 1.102 MB / 0.7375 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/5.8, allocations: 468 kB / 0.738 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/5.8, allocations: 20.77 kB / 0.738 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003976/5.804, allocations: 0.7841 MB / 0.7388 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=125): time 7.825e-06/5.804, allocations: 0 / 0.7388 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of matching and sorting (n=125): time 0.005446/5.81, allocations: 0.9788 MB / 0.7397 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/5.81, allocations: 102 kB / 0.7398 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/5.811, allocations: 429.7 kB / 0.7402 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006681/5.812, allocations: 77.67 kB / 0.7403 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/5.812, allocations: 337.2 kB / 0.7406 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007828/5.813, allocations: 296.1 kB / 0.7409 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/5.813, allocations: 4 kB / 0.7409 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003893/5.814, allocations: 406.6 kB / 0.7413 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/5.816, allocations: 0.4915 MB / 0.7418 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/5.819, allocations: 0.6837 MB / 0.7424 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/5.821, allocations: 384.6 kB / 0.7428 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/5.821, allocations: 0 / 0.7428 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005367/5.826, allocations: 1.149 MB / 0.7439 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/5.827, allocations: 4 kB / 0.7439 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/5.827, allocations: 0 / 0.7439 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/5.827, allocations: 8 kB / 0.7439 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/5.828, allocations: 123.7 kB / 0.7441 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/5.829, allocations: 16.17 kB / 0.7441 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/5.831, allocations: 187.5 kB / 0.7443 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/5.831, allocations: 47.97 kB / 0.7443 GB, free: 1.758 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 131 ($PRE.opeModSel.lat.y,$PRE.opeModSel.lat1.y,$PRE.opeModSel.lat2.y,$PRE.opeModSel.lat3.y,$PRE.opeModSel.lat4.y,$whenCondition31,$whenCondition32,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition30,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,opeModSel.yOpeMod,opeModSel.greEquThr.y,opeModSel.greEquThr1.y,$PRE.opeModSel.hys.y,opeModSel.hys.y,$PRE.opeModSel.falEdg.not_u,opeModSel.falEdg.not_u,$PRE.opeModSel.lat.u,opeModSel.lat.u,$PRE.opeModSel.lat.u0,opeModSel.lat.u0,opeModSel.lat.y,$PRE.opeModSel.lat.scenario,opeModSel.lat.scenario,$PRE.opeModSel.lat1.u,opeModSel.lat1.u,$PRE.opeModSel.lat1.u0,opeModSel.lat1.u0,opeModSel.lat1.y,$PRE.opeModSel.lat1.scenario,opeModSel.lat1.scenario,opeModSel.greEquThr2.y,opeModSel.greEquThr3.y,$PRE.opeModSel.hys1.y,opeModSel.hys1.y,$PRE.opeModSel.lat2.u,opeModSel.lat2.u,$PRE.opeModSel.lat2.u0,opeModSel.lat2.u0,opeModSel.lat2.y,$PRE.opeModSel.lat2.scenario,opeModSel.lat2.scenario,$PRE.opeModSel.falEdg1.not_u,opeModSel.falEdg1.not_u,opeModSel.sumInt.u[1],opeModSel.sumInt.u[2],opeModSel.sumInt.u[3],opeModSel.sumInt.u[4],opeModSel.sumInt.u[5],opeModSel.sumInt.u[6],opeModSel.sumInt.u[7],$PRE.opeModSel.hys2.y,opeModSel.hys2.y,$PRE.opeModSel.hys3.y,opeModSel.hys3.y,$PRE.opeModSel.hys4.y,opeModSel.hys4.y,$PRE.opeModSel.hys5.y,opeModSel.hys5.y,$PRE.opeModSel.hys6.y,opeModSel.hys6.y,$PRE.opeModSel.hys7.y,opeModSel.hys7.y,$PRE.opeModSel.hys8[1].y,opeModSel.hys8[1].y,$PRE.opeModSel.hys9.y,opeModSel.hys9.y,$PRE.opeModSel.hys10.y,opeModSel.hys10.y,$PRE.opeModSel.hys11[1].y,opeModSel.hys11[1].y,$PRE.opeModSel.lat3.u,opeModSel.lat3.u,$PRE.opeModSel.lat3.u0,opeModSel.lat3.u0,opeModSel.lat3.y,$PRE.opeModSel.lat3.scenario,opeModSel.lat3.scenario,$PRE.opeModSel.lat4.u,opeModSel.lat4.u,$PRE.opeModSel.lat4.u0,opeModSel.lat4.u0,opeModSel.lat4.y,$PRE.opeModSel.lat4.scenario,opeModSel.lat4.scenario,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 1 * 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.000679/5.832, allocations: 206.3 kB / 0.7445 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/5.832, allocations: 94.89 kB / 0.7446 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/5.837, allocations: 1.055 MB / 0.7456 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/5.837, allocations: 12 kB / 0.7456 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/5.837, allocations: 11.84 kB / 0.7456 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/5.837, allocations: 3.984 kB / 0.7457 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008237/5.846, allocations: 2.11 MB / 0.7477 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/5.846, allocations: 0 / 0.7477 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/5.847, allocations: 107.9 kB / 0.7478 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/5.847, allocations: 8 kB / 0.7478 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/5.847, allocations: 31.94 kB / 0.7479 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-05/5.848, allocations: 7.938 kB / 0.7479 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/5.848, allocations: 7.906 kB / 0.7479 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004299/5.852, allocations: 1.197 MB / 0.749 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004668/5.857, allocations: 1.592 MB / 0.7506 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/5.857, allocations: 152 kB / 0.7507 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006483/5.858, allocations: 43.98 kB / 0.7508 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/5.86, allocations: 107.9 kB / 0.7509 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/5.861, allocations: 280.5 kB / 0.7511 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/5.862, allocations: 63.94 kB / 0.7512 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007994/5.862, allocations: 294.9 kB / 0.7515 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003124/5.865, allocations: 251.3 kB / 0.7517 GB, free: 9.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 90 ($whenCondition31,$whenCondition32,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition30,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,opeModSel.yOpeMod,opeModSel.greEquThr.y,opeModSel.greEquThr1.y,opeModSel.hys.y,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.u0,opeModSel.lat.y,opeModSel.lat.scenario,opeModSel.lat1.u,opeModSel.lat1.u0,opeModSel.lat1.y,opeModSel.lat1.scenario,opeModSel.greEquThr2.y,opeModSel.greEquThr3.y,opeModSel.hys1.y,opeModSel.lat2.u,opeModSel.lat2.u0,opeModSel.lat2.y,opeModSel.lat2.scenario,opeModSel.falEdg1.not_u,opeModSel.sumInt.u[1],opeModSel.sumInt.u[2],opeModSel.sumInt.u[3],opeModSel.sumInt.u[4],opeModSel.sumInt.u[5],opeModSel.sumInt.u[6],opeModSel.sumInt.u[7],opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys6.y,opeModSel.hys7.y,opeModSel.hys8[1].y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.hys11[1].y,opeModSel.lat3.u,opeModSel.lat3.u0,opeModSel.lat3.y,opeModSel.lat3.scenario,opeModSel.lat4.u,opeModSel.lat4.u0,opeModSel.lat4.y,opeModSel.lat4.scenario,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc) * Number of discrete states: 31 (occSch.tNonOcc,occSch.tOcc,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys11[1].y,opeModSel.hys8[1].y,opeModSel.hys10.y,opeModSel.hys9.y,opeModSel.lat1.u,opeModSel.lat1.u0,opeModSel.hys7.y,opeModSel.hys6.y,opeModSel.hys1.y,opeModSel.falEdg1.not_u,opeModSel.lat2.u,opeModSel.lat2.u0,opeModSel.hys.y,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.u0,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,opeModSel.hys5.y,opeModSel.lat3.u,opeModSel.lat3.u0,opeModSel.hys4.y,opeModSel.lat4.u,opeModSel.lat4.u0) * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0008825/5.866, allocations: 221.4 kB / 0.7519 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005197/5.872, allocations: 1.23 MB / 0.7531 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/5.872, allocations: 0 / 0.7531 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003253/5.875, allocations: 0.8086 MB / 0.7539 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/5.876, allocations: 55.05 kB / 0.754 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/5.883, allocations: 1.426 MB / 0.7554 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/5.885, allocations: 1.207 MB / 0.7566 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/5.885, allocations: 0 / 0.7566 GB, free: 4.891 MB / 0.6355 GB