Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_VAVReheat_Controls_Examples_OperationModes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.201/4.201, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.76e-05, allocations: 8 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9065/1.146, allocations: 144.9 MB / 0.8134 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.146, allocations: 96.66 kB / 0.8135 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.112/1.258, allocations: 28.98 MB / 0.8418 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/1.258, allocations: 0 / 0.8418 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000127/1.259, allocations: 34.61 kB / 0.8418 GB, free: 2.523 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.004453/1.263, allocations: 1.402 MB / 0.8432 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.263, allocations: 7.594 kB / 0.8432 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000646/1.264, allocations: 218 kB / 0.8434 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/1.264, allocations: 166.9 kB / 0.8436 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/1.267, allocations: 0.7529 MB / 0.8443 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/1.267, allocations: 135 kB / 0.8444 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/1.267, allocations: 164.8 kB / 0.8446 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/1.272, allocations: 1.609 MB / 0.8461 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/1.272, allocations: 7.875 kB / 0.8462 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/1.272, allocations: 65.81 kB / 0.8462 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/1.272, allocations: 34.44 kB / 0.8463 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/1.276, allocations: 1.139 MB / 0.8474 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/1.289, allocations: 5.865 MB / 0.8531 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/1.292, allocations: 1.07 MB / 0.8541 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/1.294, allocations: 495.2 kB / 0.8546 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/1.294, allocations: 27.77 kB / 0.8546 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/1.295, allocations: 0.6111 MB / 0.8552 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=123): time 5.08e-06/1.295, allocations: 0 / 0.8552 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=123): time 0.002937/1.298, allocations: 0.9471 MB / 0.8562 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.299, allocations: 164.4 kB / 0.8563 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.3, allocations: 0.5925 MB / 0.8569 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/1.3, allocations: 76.33 kB / 0.857 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/1.301, allocations: 0.5393 MB / 0.8575 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/1.302, allocations: 319 kB / 0.8578 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.302, allocations: 29.88 kB / 0.8578 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002528/1.302, allocations: 408.5 kB / 0.8582 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.303, allocations: 440.2 kB / 0.8586 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/1.305, allocations: 0.7599 MB / 0.8594 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/1.306, allocations: 0.4885 MB / 0.8599 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.306, allocations: 0 / 0.8599 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004055/1.31, allocations: 1.415 MB / 0.8612 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/1.311, allocations: 53.06 kB / 0.8613 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.311, allocations: 8 kB / 0.8613 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-05/1.311, allocations: 20 kB / 0.8613 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.312, allocations: 189.7 kB / 0.8615 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-05/1.312, allocations: 19.94 kB / 0.8615 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.314, allocations: 196 kB / 0.8617 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.314, allocations: 68.92 kB / 0.8618 GB, free: 6.219 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.operationModes.initialStep.localActive,operationModes.initialStep.localActive,$PRE.operationModes.initialStep.newActive,operationModes.initialStep.newActive,$PRE.operationModes.initialStep.oldActive,operationModes.initialStep.oldActive,operationModes.initialStep.active,operationModes.start.enableFire,$PRE.operationModes.unOccOff.localActive,operationModes.unOccOff.localActive,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.outPort[2].available,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t2.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.t1.condition,operationModes.stateGraphRoot.activeSteps,$PRE.operationModes.morWarUp.localActive,operationModes.morWarUp.localActive,operationModes.morWarUp.inPort[2].occupied,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.enableFire,operationModes.t6.fire,$PRE.operationModes.t6.t_start,operationModes.t6.t_start,operationModes.t5.enableFire,$PRE.operationModes.occ.localActive,operationModes.occ.localActive,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,$PRE.operationModes.occ.newActive,operationModes.occ.newActive,$PRE.operationModes.occ.oldActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.enableFire,operationModes.t3.condition,operationModes.t4.enableFire,$PRE.operationModes.morPreCoo.localActive,operationModes.morPreCoo.localActive,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.enableFire,operationModes.t7.condition,operationModes.and1.u2,operationModes.and1.y,operationModes.preCooSta.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.enableFire,operationModes.and2.u2,operationModes.and2.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,mode.u,modSel.y,modSel1.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,operationModes.preCooSta.and3.u[2],PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 188 * 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.0005865/1.315, allocations: 271.6 kB / 0.862 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/1.315, allocations: 98.89 kB / 0.8621 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/1.319, allocations: 1.105 MB / 0.8632 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.319, allocations: 20 kB / 0.8632 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.319, allocations: 0 / 0.8632 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/1.319, allocations: 11.97 kB / 0.8632 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/1.326, allocations: 2.54 MB / 0.8657 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.326, allocations: 3.953 kB / 0.8657 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.327, allocations: 114.7 kB / 0.8658 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/1.327, allocations: 4 kB / 0.8658 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.327, allocations: 38.09 kB / 0.8659 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/1.327, allocations: 4 kB / 0.8659 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.327, allocations: 0 / 0.8659 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/1.332, allocations: 1.722 MB / 0.8675 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.333, allocations: 265.5 kB / 0.8678 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.333, allocations: 34.36 kB / 0.8678 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.334, allocations: 84.05 kB / 0.8679 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/1.335, allocations: 155.5 kB / 0.8681 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.335, allocations: 50.67 kB / 0.8681 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007318/1.335, allocations: 375.2 kB / 0.8685 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.72e-07/1.335, allocations: 0 / 0.8685 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001697/1.337, allocations: 304.8 kB / 0.8688 GB, free: 0.9219 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (cap.T,PID.I.y,PID.D.x) * Number of discrete variables: 93 (operationModes.t6.enableFire,operationModes.t2.enableFire,operationModes.t1.enableFire,operationModes.morPreCoo.localActive,operationModes.occ.localActive,operationModes.morWarUp.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccOff.localActive,operationModes.initialStep.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,operationModes.initialStep.newActive,operationModes.initialStep.oldActive,operationModes.initialStep.active,operationModes.start.enableFire,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,operationModes.unOccOff.newActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,operationModes.unOccNigSetBac.outPort[2].available,operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.fire,operationModes.t2.t_start,operationModes.t2.condition,operationModes.t1.fire,operationModes.t1.t_start,operationModes.t1.condition,operationModes.stateGraphRoot.activeSteps,operationModes.morWarUp.inPort[2].occupied,operationModes.morWarUp.newActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.fire,operationModes.t6.t_start,operationModes.t5.enableFire,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,operationModes.occ.newActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.enableFire,operationModes.t3.condition,operationModes.t4.enableFire,operationModes.morPreCoo.newActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.enableFire,operationModes.t7.condition,operationModes.and1.u2,operationModes.and1.y,operationModes.preCooSta.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.enableFire,operationModes.and2.u2,operationModes.and2.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,mode.u,modSel.y,modSel1.y,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc) * Number of discrete states: 13 (occSch.tNonOcc,occSch.tOcc,operationModes.initialStep.newActive,operationModes.unOccOff.newActive,operationModes.unOccNigSetBac.newActive,operationModes.morWarUp.newActive,operationModes.occ.newActive,operationModes.morPreCoo.newActive,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.005024/1.342, allocations: 2.461 MB / 0.8712 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003408/1.346, allocations: 1.299 MB / 0.8724 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.346, allocations: 0 / 0.8724 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.347, allocations: 0.5562 MB / 0.873 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.349, allocations: 183.1 kB / 0.8731 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/1.356, allocations: 1.857 MB / 0.875 GB, free: 12 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.357, allocations: 1.152 MB / 0.8761 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00125/1.358, allocations: 172.5 kB / 0.8763 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.359, allocations: 487.5 kB / 0.8767 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of SimCode: time 1.403e-06/1.359, allocations: 0 / 0.8767 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07612/1.435, allocations: 21.68 MB / 0.8979 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/1.436, allocations: 176.8 kB / 0.8981 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.87, allocations: 0 / 0.8981 GB, free: 4.785 MB / 0.6823 GB