Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.013/4.013, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.779e-05, allocations: 3.594 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2204, allocations: 98.72 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.4531, allocations: 125.1 MB / 0.7524 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4534, allocations: 75.95 kB / 0.7524 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.4705, allocations: 3.285 MB / 0.7556 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4706, allocations: 0 / 0.7556 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4706, allocations: 4 kB / 0.7556 GB, free: 5.516 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001308/0.4719, allocations: 0.5287 MB / 0.7562 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.472, allocations: 8.031 kB / 0.7562 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.384e-05/0.4721, allocations: 42.55 kB / 0.7562 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4722, allocations: 31.84 kB / 0.7562 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.4731, allocations: 275.6 kB / 0.7565 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.4732, allocations: 23.98 kB / 0.7565 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4733, allocations: 27.98 kB / 0.7565 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.4739, allocations: 239.1 kB / 0.7568 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4739, allocations: 3.984 kB / 0.7568 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.474, allocations: 8 kB / 0.7568 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.474, allocations: 4 kB / 0.7568 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.4743, allocations: 91.89 kB / 0.7569 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.4749, allocations: 387.7 kB / 0.7572 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.4754, allocations: 222.8 kB / 0.7575 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.4757, allocations: 115.5 kB / 0.7576 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4757, allocations: 4 kB / 0.7576 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.4763, allocations: 262.4 kB / 0.7578 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.966e-06/0.4763, allocations: 0 / 0.7578 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001091/0.4774, allocations: 409.2 kB / 0.7582 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.4775, allocations: 148.4 kB / 0.7584 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4777, allocations: 135 kB / 0.7585 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.4778, allocations: 53.75 kB / 0.7585 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.4779, allocations: 100.6 kB / 0.7586 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.478, allocations: 63.19 kB / 0.7587 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.4781, allocations: 12 kB / 0.7587 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4783, allocations: 330.8 kB / 0.759 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.4788, allocations: 171.9 kB / 0.7592 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.4793, allocations: 215.1 kB / 0.7594 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.4798, allocations: 221.7 kB / 0.7596 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4798, allocations: 4 kB / 0.7596 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001692/0.4815, allocations: 0.7096 MB / 0.7603 GB, free: 396 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.4816, allocations: 91.25 kB / 0.7604 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4816, allocations: 0 / 0.7604 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.4817, allocations: 8.062 kB / 0.7604 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4819, allocations: 15.98 kB / 0.7604 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4819, allocations: 4 kB / 0.7604 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.4826, allocations: 79.77 kB / 0.7605 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/0.4827, allocations: 19.98 kB / 0.7605 GB, free: 164 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002324/0.4829, allocations: 148 kB / 0.7606 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.483, allocations: 23.81 kB / 0.7607 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.4831, allocations: 16.62 kB / 0.7607 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4831, allocations: 7.938 kB / 0.7607 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4831, allocations: 0 / 0.7607 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4831, allocations: 0 / 0.7607 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.4835, allocations: 261.3 kB / 0.7609 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4835, allocations: 0 / 0.7609 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4836, allocations: 23.92 kB / 0.761 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4836, allocations: 4 kB / 0.761 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.4837, allocations: 15.92 kB / 0.761 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4837, allocations: 4 kB / 0.761 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4837, allocations: 0 / 0.761 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4848, allocations: 478.4 kB / 0.7614 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.4849, allocations: 92.92 kB / 0.7615 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.485, allocations: 23.92 kB / 0.7616 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.4853, allocations: 20.67 kB / 0.7616 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.4854, allocations: 15.97 kB / 0.7616 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.4854, allocations: 23.97 kB / 0.7616 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001248/0.4856, allocations: 121.8 kB / 0.7617 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4856, allocations: 0 / 0.7617 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00054/0.4861, allocations: 79.98 kB / 0.7618 GB, free: 14.71 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: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.00159/0.4877, allocations: 1.279 MB / 0.7631 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.4891, allocations: 0.66 MB / 0.7637 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4891, allocations: 0 / 0.7637 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4895, allocations: 160 kB / 0.7638 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.4897, allocations: 16.05 kB / 0.7639 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.4909, allocations: 358.7 kB / 0.7642 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4913, allocations: 0.7208 MB / 0.7649 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.816e-05/0.4914, allocations: 17.2 kB / 0.7649 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.4915, allocations: 39.42 kB / 0.765 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.4915, allocations: 0 / 0.765 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.5192, allocations: 4.644 MB / 0.7695 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/0.5196, allocations: 165.7 kB / 0.7697 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.901, allocations: 0 / 0.7697 GB, free: 6.547 MB / 0.6511 GB