Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.286/4.286, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.761e-05, allocations: 6.344 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9416/1.2, allocations: 133.6 MB / 0.8083 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.2, allocations: 73.64 kB / 0.8084 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02088/1.221, allocations: 4.455 MB / 0.8127 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/1.221, allocations: 0 / 0.8127 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.221, allocations: 7.844 kB / 0.8127 GB, free: 11.88 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001062/1.222, allocations: 0.5793 MB / 0.8133 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.222, allocations: 7.656 kB / 0.8133 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/1.222, allocations: 39.84 kB / 0.8133 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/1.222, allocations: 31.06 kB / 0.8134 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/1.223, allocations: 261.3 kB / 0.8136 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/1.223, allocations: 17.41 kB / 0.8136 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.223, allocations: 15.53 kB / 0.8137 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/1.223, allocations: 141.9 kB / 0.8138 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.223, allocations: 0 / 0.8138 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/1.223, allocations: 11.05 kB / 0.8138 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.224, allocations: 3.844 kB / 0.8138 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/1.224, allocations: 41.2 kB / 0.8138 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/1.224, allocations: 333.4 kB / 0.8142 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/1.224, allocations: 133.4 kB / 0.8143 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/1.225, allocations: 56.72 kB / 0.8143 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/1.225, allocations: 0 / 0.8143 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/1.225, allocations: 215.1 kB / 0.8145 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/1.225, allocations: 0 / 0.8145 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006467/1.226, allocations: 219.1 kB / 0.8148 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.226, allocations: 62.08 kB / 0.8148 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/1.226, allocations: 253.2 kB / 0.8151 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/1.226, allocations: 39.81 kB / 0.8151 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/1.226, allocations: 92.45 kB / 0.8152 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/1.227, allocations: 44.06 kB / 0.8152 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/1.227, allocations: 11.06 kB / 0.8152 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/1.227, allocations: 317.5 kB / 0.8155 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/1.227, allocations: 98.97 kB / 0.8156 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/1.227, allocations: 151.8 kB / 0.8158 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/1.228, allocations: 150.9 kB / 0.8159 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.228, allocations: 0 / 0.8159 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001009/1.229, allocations: 408.2 kB / 0.8163 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/1.229, allocations: 82.75 kB / 0.8164 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.229, allocations: 0 / 0.8164 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.229, allocations: 3.875 kB / 0.8164 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/1.229, allocations: 24.98 kB / 0.8164 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.229, allocations: 3.812 kB / 0.8164 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/1.23, allocations: 51.09 kB / 0.8165 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.23, allocations: 55.33 kB / 0.8165 GB, free: 9.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001978/1.23, allocations: 136.5 kB / 0.8166 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/1.23, allocations: 33.88 kB / 0.8167 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.23, allocations: 28.41 kB / 0.8167 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.23, allocations: 0 / 0.8167 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.23, allocations: 0 / 0.8167 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.23, allocations: 3.938 kB / 0.8167 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/1.231, allocations: 0.5502 MB / 0.8173 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/1.231, allocations: 7.969 kB / 0.8173 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/1.232, allocations: 15.3 kB / 0.8173 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/1.232, allocations: 0 / 0.8173 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/1.232, allocations: 17.92 kB / 0.8173 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.232, allocations: 0 / 0.8173 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.232, allocations: 3.938 kB / 0.8173 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/1.232, allocations: 324 kB / 0.8176 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/1.232, allocations: 148.3 kB / 0.8177 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/1.233, allocations: 14.75 kB / 0.8178 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.233, allocations: 10.78 kB / 0.8178 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/1.233, allocations: 13.45 kB / 0.8178 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/1.233, allocations: 32.77 kB / 0.8178 GB, free: 9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002412/1.233, allocations: 204.5 kB / 0.818 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.233, allocations: 0 / 0.818 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005709/1.234, allocations: 53.16 kB / 0.8181 GB, free: 8.918 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0012/1.235, allocations: 0.8749 MB / 0.8189 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008673/1.236, allocations: 344.3 kB / 0.8192 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.236, allocations: 0 / 0.8192 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/1.236, allocations: 70.5 kB / 0.8193 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/1.237, allocations: 17.78 kB / 0.8193 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.238, allocations: 345.6 kB / 0.8197 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.238, allocations: 0.7435 MB / 0.8204 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002141/1.238, allocations: 39.81 kB / 0.8204 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/1.238, allocations: 43.27 kB / 0.8205 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.238, allocations: 0 / 0.8205 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/1.27, allocations: 5.42 MB / 0.8258 GB, free: 21.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/1.271, allocations: 167.3 kB / 0.8259 GB, free: 21.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.675, allocations: 0 / 0.8259 GB, free: 21.7 MB / 0.6511 GB