Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.351/4.351, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.885e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2262, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8981/1.124, allocations: 132.4 MB / 0.8071 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.125, allocations: 71.59 kB / 0.8072 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01496/1.14, allocations: 3.278 MB / 0.8104 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/1.14, allocations: 0 / 0.8104 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.197e-06/1.14, allocations: 3.938 kB / 0.8104 GB, free: 12.01 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.001106/1.141, allocations: 0.5347 MB / 0.8109 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.141, allocations: 11.66 kB / 0.8109 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/1.141, allocations: 44.53 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/1.141, allocations: 26.39 kB / 0.811 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/1.142, allocations: 271.8 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/1.142, allocations: 29.05 kB / 0.8113 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/1.142, allocations: 33.33 kB / 0.8113 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/1.143, allocations: 236.7 kB / 0.8115 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.143, allocations: 0 / 0.8115 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/1.143, allocations: 9.719 kB / 0.8115 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.143, allocations: 0 / 0.8115 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/1.143, allocations: 95.39 kB / 0.8116 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/1.143, allocations: 378.2 kB / 0.812 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/1.144, allocations: 221.6 kB / 0.8122 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/1.144, allocations: 126.9 kB / 0.8123 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/1.144, allocations: 3.969 kB / 0.8123 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/1.145, allocations: 253.6 kB / 0.8126 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.545e-06/1.145, allocations: 3.938 kB / 0.8126 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0009198/1.146, allocations: 409.5 kB / 0.8129 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.146, allocations: 145.4 kB / 0.8131 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/1.146, allocations: 140.9 kB / 0.8132 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/1.146, allocations: 40.83 kB / 0.8133 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/1.146, allocations: 109.7 kB / 0.8134 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/1.146, allocations: 63 kB / 0.8134 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/1.146, allocations: 11.44 kB / 0.8134 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/1.146, allocations: 327.4 kB / 0.8137 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/1.147, allocations: 178.6 kB / 0.8139 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/1.147, allocations: 211.2 kB / 0.8141 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/1.147, allocations: 231.5 kB / 0.8143 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.147, allocations: 0 / 0.8143 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001394/1.149, allocations: 0.7105 MB / 0.815 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/1.149, allocations: 82.2 kB / 0.8151 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.149, allocations: 0 / 0.8151 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.149, allocations: 11.83 kB / 0.8151 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/1.149, allocations: 14.02 kB / 0.8151 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.149, allocations: 7.906 kB / 0.8151 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/1.15, allocations: 77.11 kB / 0.8152 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.15, allocations: 27.86 kB / 0.8152 GB, free: 9.695 MB / 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.0001538/1.15, allocations: 145.2 kB / 0.8154 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/1.15, allocations: 22.48 kB / 0.8154 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/1.15, allocations: 17.69 kB / 0.8154 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.15, allocations: 11.77 kB / 0.8154 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.15, allocations: 0 / 0.8154 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.15, allocations: 2.062 kB / 0.8154 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/1.15, allocations: 262.8 kB / 0.8157 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.15, allocations: 3.875 kB / 0.8157 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/1.151, allocations: 7.688 kB / 0.8157 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.151, allocations: 6.984 kB / 0.8157 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/1.151, allocations: 17.3 kB / 0.8157 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.151, allocations: 0 / 0.8157 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.151, allocations: 7.859 kB / 0.8157 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/1.151, allocations: 480.8 kB / 0.8162 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/1.152, allocations: 92.48 kB / 0.8163 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/1.152, allocations: 17.94 kB / 0.8163 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/1.152, allocations: 18 kB / 0.8163 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/1.152, allocations: 24.36 kB / 0.8163 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.152, allocations: 20.12 kB / 0.8164 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.019e-05/1.152, allocations: 114.2 kB / 0.8165 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.152, allocations: 4 kB / 0.8165 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004518/1.153, allocations: 82.48 kB / 0.8165 GB, free: 9.012 MB / 0.6355 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.0015/1.154, allocations: 1.272 MB / 0.8178 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.155, allocations: 0.6605 MB / 0.8184 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.155, allocations: 3.906 kB / 0.8184 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/1.156, allocations: 145.5 kB / 0.8186 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/1.156, allocations: 18.78 kB / 0.8186 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/1.157, allocations: 376.1 kB / 0.8189 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/1.157, allocations: 0.722 MB / 0.8197 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.434e-05/1.157, allocations: 7.594 kB / 0.8197 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/1.157, allocations: 42.38 kB / 0.8197 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of SimCode: time 8.01e-07/1.157, allocations: 0 / 0.8197 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/1.183, allocations: 4.66 MB / 0.8243 GB, free: 22.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.183, allocations: 159.2 kB / 0.8244 GB, free: 22.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.592, allocations: 3.938 kB / 0.8244 GB, free: 22.33 MB / 0.6511 GB