Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.221/4.221, allocations: 404.1 MB / 411.3 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.473e-05, allocations: 0 / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6288, allocations: 92.69 MB / 0.585 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/0.8614, allocations: 120.1 MB / 0.7023 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.8617, allocations: 71.95 kB / 0.7024 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09224/0.954, allocations: 18.73 MB / 0.7207 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.954, allocations: 0 / 0.7207 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.954, allocations: 4 kB / 0.7207 GB, free: 7.234 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001423/0.9555, allocations: 0.6114 MB / 0.7213 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.9556, allocations: 8.031 kB / 0.7213 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.9557, allocations: 27.62 kB / 0.7213 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.9562, allocations: 249.8 kB / 0.7215 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.9563, allocations: 4 kB / 0.7216 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.9563, allocations: 15.94 kB / 0.7216 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006988/0.957, allocations: 308.4 kB / 0.7219 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/0.958, allocations: 442.5 kB / 0.7223 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.958, allocations: 0 / 0.7223 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.9581, allocations: 3.953 kB / 0.7223 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.9581, allocations: 4 kB / 0.7223 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/0.9591, allocations: 0.5123 MB / 0.7228 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.9611, allocations: 1.001 MB / 0.7238 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.9624, allocations: 0.6443 MB / 0.7244 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.9625, allocations: 7.984 kB / 0.7244 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009615/0.9635, allocations: 469.9 kB / 0.7249 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 3.046e-06/0.9635, allocations: 0 / 0.7249 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001884/0.9654, allocations: 0.7586 MB / 0.7256 GB, free: 1.945 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.9655, allocations: 140.5 kB / 0.7257 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.9659, allocations: 220.4 kB / 0.7259 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.966, allocations: 29.7 kB / 0.726 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.9661, allocations: 120.9 kB / 0.7261 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.9662, allocations: 75.06 kB / 0.7262 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.9663, allocations: 0 / 0.7262 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.9665, allocations: 350.8 kB / 0.7265 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000662/0.9671, allocations: 316.7 kB / 0.7268 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.9679, allocations: 409.6 kB / 0.7272 GB, free: 236 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.9687, allocations: 352.8 kB / 0.7275 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9688, allocations: 0 / 0.7275 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001807/0.9706, allocations: 0.791 MB / 0.7283 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.9706, allocations: 8 kB / 0.7283 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.9707, allocations: 7.984 kB / 0.7283 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.9707, allocations: 4 kB / 0.7283 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.971, allocations: 39.91 kB / 0.7283 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.971, allocations: 11.88 kB / 0.7284 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.9715, allocations: 11.92 kB / 0.7284 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/0.9719, allocations: 207.6 kB / 0.7286 GB, free: 14.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0002205/0.9721, allocations: 142.4 kB / 0.7287 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001908/0.9741, allocations: 0.7694 MB / 0.7295 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.9742, allocations: 31.62 kB / 0.7295 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.9743, allocations: 33.95 kB / 0.7295 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.9743, allocations: 7.938 kB / 0.7295 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9744, allocations: 0 / 0.7295 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.9744, allocations: 7.953 kB / 0.7295 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.9777, allocations: 1.637 MB / 0.7311 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.9777, allocations: 0 / 0.7311 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.9778, allocations: 23.91 kB / 0.7312 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.9778, allocations: 3.938 kB / 0.7312 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.9779, allocations: 23.92 kB / 0.7312 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.9779, allocations: 8 kB / 0.7312 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9779, allocations: 0 / 0.7312 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.9797, allocations: 1.119 MB / 0.7323 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.9798, allocations: 100.7 kB / 0.7324 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.9799, allocations: 7.938 kB / 0.7324 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.9804, allocations: 7.984 kB / 0.7324 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.9806, allocations: 55.88 kB / 0.7324 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/0.981, allocations: 219.8 kB / 0.7327 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000225/0.9813, allocations: 156.5 kB / 0.7328 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9813, allocations: 4 kB / 0.7328 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007898/0.9821, allocations: 59.98 kB / 0.7329 GB, free: 10.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002235/0.9843, allocations: 1.918 MB / 0.7347 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.9859, allocations: 0.7068 MB / 0.7354 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9859, allocations: 4 kB / 0.7354 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.9868, allocations: 399.7 kB / 0.7358 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.9895, allocations: 306.3 kB / 0.7361 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.9919, allocations: 0.8914 MB / 0.737 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.9923, allocations: 0.7614 MB / 0.7377 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00049/0.9928, allocations: 95.23 kB / 0.7378 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.9932, allocations: 119.3 kB / 0.7379 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of SimCode: time 3.356e-06/0.9932, allocations: 0 / 0.7379 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07512/1.068, allocations: 9.777 MB / 0.7475 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003833/1.069, allocations: 131.4 kB / 0.7476 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.061/4.129, allocations: 0 / 0.7476 GB, free: 11.14 MB / 0.6355 GB