Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.738/3.738, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.474e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6484, allocations: 92.67 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.8949, allocations: 120.7 MB / 0.7075 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.8953, allocations: 71.95 kB / 0.7076 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01903/0.9144, allocations: 3.291 MB / 0.7108 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9144, allocations: 4 kB / 0.7108 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.9145, allocations: 4 kB / 0.7108 GB, free: 2.102 MB / 0.5886 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.001349/0.9158, allocations: 0.5225 MB / 0.7113 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.9159, allocations: 12.03 kB / 0.7113 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.031e-05/0.916, allocations: 42.55 kB / 0.7114 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.9161, allocations: 31.84 kB / 0.7114 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.917, allocations: 270.7 kB / 0.7117 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.9171, allocations: 27.91 kB / 0.7117 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.9172, allocations: 27.98 kB / 0.7117 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.9178, allocations: 249.5 kB / 0.712 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9179, allocations: 0 / 0.712 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.9179, allocations: 4 kB / 0.712 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.9179, allocations: 3.938 kB / 0.712 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.9182, allocations: 95.89 kB / 0.7121 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.9189, allocations: 379.8 kB / 0.7124 GB, free: 284 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.9194, allocations: 230.5 kB / 0.7126 GB, free: 16 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.9197, allocations: 123.7 kB / 0.7128 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.9198, allocations: 4 kB / 0.7128 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/0.9204, allocations: 256 kB / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 3.497e-06/0.9204, allocations: 0 / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.001159/0.9216, allocations: 413.1 kB / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9217, allocations: 144.5 kB / 0.7135 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.9219, allocations: 143.8 kB / 0.7137 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.896e-05/0.922, allocations: 49.69 kB / 0.7137 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.9221, allocations: 100.6 kB / 0.7138 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.9222, allocations: 67.17 kB / 0.7139 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.9223, allocations: 12 kB / 0.7139 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9225, allocations: 326.8 kB / 0.7142 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.923, allocations: 175.9 kB / 0.7144 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.9235, allocations: 207.4 kB / 0.7146 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.924, allocations: 222.8 kB / 0.7148 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.924, allocations: 0 / 0.7148 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001798/0.9258, allocations: 0.7162 MB / 0.7155 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.926, allocations: 87.31 kB / 0.7156 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.926, allocations: 8 kB / 0.7156 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.926, allocations: 4 kB / 0.7156 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.9262, allocations: 11.98 kB / 0.7156 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.9262, allocations: 4 kB / 0.7156 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.9269, allocations: 79.77 kB / 0.7157 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.927, allocations: 23.98 kB / 0.7157 GB, free: 12.74 MB / 0.6042 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.0002469/0.9273, allocations: 148 kB / 0.7158 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.9273, allocations: 19.81 kB / 0.7158 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.717e-05/0.9274, allocations: 20.61 kB / 0.7159 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.9274, allocations: 4 kB / 0.7159 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9274, allocations: 0 / 0.7159 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9275, allocations: 0 / 0.7159 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.9278, allocations: 261.3 kB / 0.7161 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.9278, allocations: 7.953 kB / 0.7161 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.928, allocations: 19.86 kB / 0.7161 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.928, allocations: 4 kB / 0.7162 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.928, allocations: 15.97 kB / 0.7162 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.9281, allocations: 4 kB / 0.7162 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.9281, allocations: 4 kB / 0.7162 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.9292, allocations: 482 kB / 0.7166 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.9293, allocations: 89.02 kB / 0.7167 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.9294, allocations: 19.98 kB / 0.7167 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.9297, allocations: 15.98 kB / 0.7168 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.9298, allocations: 27.92 kB / 0.7168 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.9298, allocations: 23.97 kB / 0.7168 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001293/0.93, allocations: 114.2 kB / 0.7169 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.5e-07/0.93, allocations: 0 / 0.7169 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005464/0.9305, allocations: 87.86 kB / 0.717 GB, free: 11.29 MB / 0.6042 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.001634/0.9322, allocations: 1.264 MB / 0.7182 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.9337, allocations: 0.6679 MB / 0.7189 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9337, allocations: 4.125 kB / 0.7189 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.9341, allocations: 151.9 kB / 0.719 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.9343, allocations: 18.5 kB / 0.719 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.9356, allocations: 367.1 kB / 0.7194 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.9359, allocations: 0.7287 MB / 0.7201 GB, free: 7.961 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.993e-05/0.936, allocations: 13.2 kB / 0.7201 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.9361, allocations: 40.73 kB / 0.7202 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.9361, allocations: 0 / 0.7202 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.9676, allocations: 4.64 MB / 0.7247 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/0.968, allocations: 159.4 kB / 0.7248 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.272, allocations: 0 / 0.7248 GB, free: 3.133 MB / 0.6042 GB