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.918/3.918, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.185e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5903, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.8124, allocations: 120.7 MB / 0.7076 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.8127, allocations: 71.95 kB / 0.7076 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.8296, allocations: 3.283 MB / 0.7108 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8297, allocations: 0 / 0.7108 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.8297, allocations: 4 kB / 0.7108 GB, free: 2.113 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.001324/0.831, allocations: 0.5366 MB / 0.7114 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.8311, allocations: 8.031 kB / 0.7114 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.8312, allocations: 42.55 kB / 0.7114 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.8313, allocations: 27.86 kB / 0.7114 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/0.8322, allocations: 276.7 kB / 0.7117 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.8323, allocations: 23.97 kB / 0.7117 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.8324, allocations: 28 kB / 0.7117 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.833, allocations: 248.8 kB / 0.712 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8331, allocations: 0 / 0.712 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.8331, allocations: 7.984 kB / 0.712 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8331, allocations: 0 / 0.712 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.8334, allocations: 91.89 kB / 0.7121 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.834, allocations: 375.9 kB / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.8345, allocations: 230.6 kB / 0.7127 GB, free: 28 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.8349, allocations: 119.5 kB / 0.7128 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.8349, allocations: 4.188 kB / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.8355, allocations: 254.6 kB / 0.713 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 3.025e-06/0.8356, allocations: 4 kB / 0.713 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.001177/0.8367, allocations: 413.1 kB / 0.7134 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.8369, allocations: 144.5 kB / 0.7136 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.8371, allocations: 142.9 kB / 0.7137 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.8372, allocations: 41.7 kB / 0.7137 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.8373, allocations: 108.6 kB / 0.7138 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.8374, allocations: 63.19 kB / 0.7139 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.8375, allocations: 12.06 kB / 0.7139 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8376, allocations: 330.8 kB / 0.7142 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.8381, allocations: 175.9 kB / 0.7144 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.8386, allocations: 211.3 kB / 0.7146 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.8392, allocations: 222.7 kB / 0.7148 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.8392, allocations: 3.953 kB / 0.7148 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001835/0.841, allocations: 0.72 MB / 0.7155 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.8412, allocations: 71.39 kB / 0.7156 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.8412, allocations: 7.984 kB / 0.7156 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.8412, allocations: 0 / 0.7156 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.8414, allocations: 12 kB / 0.7156 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8415, allocations: 0 / 0.7156 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.8421, allocations: 87.81 kB / 0.7157 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.8422, allocations: 20 kB / 0.7157 GB, free: 12.76 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.0002496/0.8425, allocations: 144 kB / 0.7158 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.8426, allocations: 27.75 kB / 0.7159 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.8426, allocations: 16.62 kB / 0.7159 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8427, allocations: 4 kB / 0.7159 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.8427, allocations: 4 kB / 0.7159 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8427, allocations: 0 / 0.7159 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.8431, allocations: 269.3 kB / 0.7161 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8431, allocations: 0 / 0.7161 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.8432, allocations: 15.89 kB / 0.7162 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.8432, allocations: 4 kB / 0.7162 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.8433, allocations: 15.97 kB / 0.7162 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.8433, allocations: 0 / 0.7162 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8433, allocations: 8 kB / 0.7162 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.8444, allocations: 478 kB / 0.7166 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.8444, allocations: 93 kB / 0.7167 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.8446, allocations: 23.98 kB / 0.7168 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.8448, allocations: 11.98 kB / 0.7168 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.8449, allocations: 19.97 kB / 0.7168 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.845, allocations: 27.92 kB / 0.7168 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001166/0.8451, allocations: 114.2 kB / 0.7169 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8451, allocations: 0 / 0.7169 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000538/0.8457, allocations: 87.86 kB / 0.717 GB, free: 11.32 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.001574/0.8473, allocations: 1.265 MB / 0.7182 GB, free: 10 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.8487, allocations: 0.6666 MB / 0.7189 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8487, allocations: 3.938 kB / 0.7189 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.8491, allocations: 147.9 kB / 0.719 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.8493, allocations: 15.98 kB / 0.719 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.8505, allocations: 367.4 kB / 0.7194 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.8508, allocations: 0.7246 MB / 0.7201 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.43e-05/0.8509, allocations: 9.203 kB / 0.7201 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.851, allocations: 39.42 kB / 0.7202 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.851, allocations: 0 / 0.7202 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.8773, allocations: 4.666 MB / 0.7247 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/0.8777, allocations: 158.1 kB / 0.7249 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.242, allocations: 3.938 kB / 0.7249 GB, free: 3.141 MB / 0.6042 GB