Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.718/3.718, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.642e-05, allocations: 4 kB / 0.4991 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6284, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.852, allocations: 121.9 MB / 0.7087 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.8523, allocations: 67.97 kB / 0.7087 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02178/0.8741, allocations: 4.178 MB / 0.7128 GB, free: 72 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8742, allocations: 0 / 0.7128 GB, free: 72 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8742, allocations: 4 kB / 0.7128 GB, free: 68 kB / 0.5886 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.001124/0.8753, allocations: 0.5478 MB / 0.7133 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.8754, allocations: 8.031 kB / 0.7133 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.8755, allocations: 38.55 kB / 0.7134 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.8756, allocations: 31.67 kB / 0.7134 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.8758, allocations: 195.6 kB / 0.7136 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.8758, allocations: 15.98 kB / 0.7136 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.876, allocations: 20 kB / 0.7136 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.8764, allocations: 130.8 kB / 0.7138 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.8764, allocations: 0 / 0.7138 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.8764, allocations: 8 kB / 0.7138 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.8764, allocations: 4 kB / 0.7138 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.8766, allocations: 47.88 kB / 0.7138 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.8771, allocations: 297.4 kB / 0.7141 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.8775, allocations: 126.7 kB / 0.7142 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.8777, allocations: 53.22 kB / 0.7143 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.8778, allocations: 8 kB / 0.7143 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.8783, allocations: 195.5 kB / 0.7145 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.8783, allocations: 3.938 kB / 0.7145 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006677/0.879, allocations: 213.3 kB / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.8791, allocations: 59.39 kB / 0.7147 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.8794, allocations: 195 kB / 0.7149 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.8795, allocations: 41.69 kB / 0.715 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.8795, allocations: 92.77 kB / 0.715 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.8796, allocations: 51.48 kB / 0.7151 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.8797, allocations: 4 kB / 0.7151 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8798, allocations: 330.8 kB / 0.7154 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.8802, allocations: 88.22 kB / 0.7155 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.8806, allocations: 146.4 kB / 0.7156 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.881, allocations: 146.2 kB / 0.7158 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.881, allocations: 0 / 0.7158 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0011/0.8821, allocations: 408.9 kB / 0.7162 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.743e-05/0.8822, allocations: 76.67 kB / 0.7162 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8822, allocations: 0 / 0.7162 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8822, allocations: 4 kB / 0.7162 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.8825, allocations: 23.92 kB / 0.7163 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.8825, allocations: 7.984 kB / 0.7163 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.8832, allocations: 43.83 kB / 0.7163 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.8833, allocations: 47.97 kB / 0.7164 GB, free: 12.12 MB / 0.6042 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.0001846/0.8835, allocations: 142.2 kB / 0.7165 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.8836, allocations: 19.8 kB / 0.7165 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-05/0.8837, allocations: 25.64 kB / 0.7165 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.8837, allocations: 4 kB / 0.7165 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8837, allocations: 0 / 0.7165 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8837, allocations: 0 / 0.7165 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8848, allocations: 0.5343 MB / 0.7171 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8848, allocations: 7.984 kB / 0.7171 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.8849, allocations: 4 kB / 0.7171 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.8849, allocations: 4 kB / 0.7171 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.885, allocations: 11.98 kB / 0.7171 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.885, allocations: 0 / 0.7171 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.885, allocations: 0 / 0.7171 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.8856, allocations: 313.9 kB / 0.7174 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.8858, allocations: 136.7 kB / 0.7175 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.8859, allocations: 12 kB / 0.7175 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.8862, allocations: 11.98 kB / 0.7175 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.8863, allocations: 15.97 kB / 0.7176 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.8864, allocations: 31.92 kB / 0.7176 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002119/0.8866, allocations: 165.6 kB / 0.7177 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8866, allocations: 0 / 0.7177 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004577/0.8871, allocations: 51.94 kB / 0.7178 GB, free: 10.56 MB / 0.6042 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.001004/0.8881, allocations: 0.8623 MB / 0.7186 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00082/0.8889, allocations: 338.8 kB / 0.719 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8889, allocations: 0 / 0.719 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.8892, allocations: 69.64 kB / 0.719 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.8895, allocations: 16.66 kB / 0.719 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.8904, allocations: 276.4 kB / 0.7193 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.8908, allocations: 0.7243 MB / 0.72 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.891, allocations: 33.2 kB / 0.72 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.8912, allocations: 43.41 kB / 0.7201 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of SimCode: time 1.272e-06/0.8912, allocations: 4 kB / 0.7201 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.9206, allocations: 4.998 MB / 0.725 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.921, allocations: 149.1 kB / 0.7251 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.194, allocations: 0 / 0.7251 GB, free: 2.949 MB / 0.6042 GB