Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.302/4.302, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.9e-05, allocations: 0 / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2265, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8873/1.114, allocations: 132 MB / 0.8008 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.114, allocations: 73.27 kB / 0.8009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01523/1.129, allocations: 3.29 MB / 0.8041 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/1.129, allocations: 0 / 0.8041 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.367e-06/1.129, allocations: 4 kB / 0.8041 GB, free: 12.26 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.001148/1.131, allocations: 0.5324 MB / 0.8046 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.131, allocations: 7.812 kB / 0.8046 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/1.131, allocations: 40.64 kB / 0.8046 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/1.131, allocations: 38.08 kB / 0.8047 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/1.132, allocations: 280.5 kB / 0.8049 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/1.132, allocations: 15.09 kB / 0.805 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/1.132, allocations: 36.12 kB / 0.805 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/1.132, allocations: 237.6 kB / 0.8052 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.132, allocations: 0 / 0.8052 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/1.132, allocations: 10.81 kB / 0.8052 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.132, allocations: 0 / 0.8052 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/1.133, allocations: 90.95 kB / 0.8053 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/1.133, allocations: 380.3 kB / 0.8057 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/1.134, allocations: 224.7 kB / 0.8059 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/1.134, allocations: 119.8 kB / 0.806 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/1.134, allocations: 7.797 kB / 0.806 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/1.134, allocations: 265 kB / 0.8063 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/1.134, allocations: 0 / 0.8063 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0009293/1.135, allocations: 405.7 kB / 0.8067 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.135, allocations: 147.5 kB / 0.8068 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.136, allocations: 134.3 kB / 0.8069 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/1.136, allocations: 43.77 kB / 0.807 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/1.136, allocations: 113.4 kB / 0.8071 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/1.136, allocations: 59.69 kB / 0.8071 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/1.136, allocations: 15.66 kB / 0.8071 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/1.136, allocations: 327.9 kB / 0.8075 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/1.136, allocations: 169.3 kB / 0.8076 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/1.137, allocations: 219.6 kB / 0.8078 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/1.137, allocations: 220.6 kB / 0.808 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.137, allocations: 3.719 kB / 0.808 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001418/1.139, allocations: 0.7172 MB / 0.8087 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/1.139, allocations: 81.14 kB / 0.8088 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.139, allocations: 0 / 0.8088 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.139, allocations: 3.844 kB / 0.8088 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.139, allocations: 29.45 kB / 0.8089 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.139, allocations: 0 / 0.8089 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/1.14, allocations: 79.62 kB / 0.8089 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/1.14, allocations: 20.95 kB / 0.809 GB, free: 9.953 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.0001643/1.14, allocations: 146.7 kB / 0.8091 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/1.14, allocations: 26.22 kB / 0.8091 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/1.14, allocations: 17.62 kB / 0.8091 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.14, allocations: 3.781 kB / 0.8091 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.14, allocations: 0 / 0.8091 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.14, allocations: 3.969 kB / 0.8091 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/1.14, allocations: 259.5 kB / 0.8094 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.14, allocations: 6.703 kB / 0.8094 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/1.14, allocations: 11.62 kB / 0.8094 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.14, allocations: 11.8 kB / 0.8094 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/1.14, allocations: 15.84 kB / 0.8094 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.14, allocations: 3.844 kB / 0.8094 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.14, allocations: 0 / 0.8094 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/1.141, allocations: 474.6 kB / 0.8099 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/1.141, allocations: 92.55 kB / 0.81 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/1.141, allocations: 22.34 kB / 0.81 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/1.142, allocations: 17.2 kB / 0.81 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/1.142, allocations: 24.44 kB / 0.81 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/1.142, allocations: 30.36 kB / 0.8101 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.418e-05/1.142, allocations: 123.9 kB / 0.8102 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.142, allocations: 0 / 0.8102 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004741/1.142, allocations: 79.5 kB / 0.8103 GB, free: 9.262 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.001639/1.144, allocations: 1.264 MB / 0.8115 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001084/1.145, allocations: 0.6581 MB / 0.8121 GB, free: 24.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.145, allocations: 0 / 0.8121 GB, free: 24.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/1.145, allocations: 154.1 kB / 0.8123 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/1.146, allocations: 18.19 kB / 0.8123 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/1.147, allocations: 368.4 kB / 0.8127 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/1.147, allocations: 0.7167 MB / 0.8134 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.173e-05/1.147, allocations: 17.88 kB / 0.8134 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/1.147, allocations: 39.2 kB / 0.8134 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of SimCode: time 8.21e-07/1.147, allocations: 0 / 0.8134 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.174, allocations: 4.666 MB / 0.818 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.174, allocations: 160.1 kB / 0.8181 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.475, allocations: 0 / 0.8181 GB, free: 22.57 MB / 0.6511 GB