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.87/3.87, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.38e-05/5.376e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6783, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.9036, allocations: 121.9 MB / 0.7087 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.904, allocations: 67.97 kB / 0.7087 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02258/0.9266, allocations: 4.172 MB / 0.7128 GB, free: 68 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9266, allocations: 0 / 0.7128 GB, free: 68 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.9267, allocations: 8 kB / 0.7128 GB, free: 60 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.001263/0.928, allocations: 0.5438 MB / 0.7134 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.928, allocations: 12.03 kB / 0.7134 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.9281, allocations: 38.55 kB / 0.7134 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.9283, allocations: 35.67 kB / 0.7134 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.9285, allocations: 195.6 kB / 0.7136 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.9286, allocations: 15.98 kB / 0.7136 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.9287, allocations: 16 kB / 0.7137 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.9291, allocations: 134.8 kB / 0.7138 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9291, allocations: 3.938 kB / 0.7138 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.9292, allocations: 4 kB / 0.7138 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9292, allocations: 0 / 0.7138 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.9294, allocations: 47.92 kB / 0.7138 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.93, allocations: 297.4 kB / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.9304, allocations: 126.7 kB / 0.7142 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.9306, allocations: 52.84 kB / 0.7143 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.9306, allocations: 4 kB / 0.7143 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/0.9312, allocations: 197.9 kB / 0.7145 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.846e-06/0.9312, allocations: 0 / 0.7145 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007494/0.932, allocations: 209.3 kB / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.932, allocations: 59.41 kB / 0.7147 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.9324, allocations: 199 kB / 0.7149 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/0.9325, allocations: 45.62 kB / 0.715 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.9326, allocations: 96.77 kB / 0.7151 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.9327, allocations: 43.53 kB / 0.7151 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.9327, allocations: 8 kB / 0.7151 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9329, allocations: 322.8 kB / 0.7154 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.9333, allocations: 96.2 kB / 0.7155 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.9337, allocations: 145.7 kB / 0.7157 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.9341, allocations: 144.1 kB / 0.7158 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9341, allocations: 0 / 0.7158 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001112/0.9352, allocations: 400.9 kB / 0.7162 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.9353, allocations: 71.39 kB / 0.7162 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.9354, allocations: 3.938 kB / 0.7162 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9354, allocations: 4 kB / 0.7163 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.9357, allocations: 31.89 kB / 0.7163 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.9357, allocations: 4 kB / 0.7163 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.9364, allocations: 52 kB / 0.7163 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9365, allocations: 43.98 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.0002125/0.9367, allocations: 132 kB / 0.7165 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.9368, allocations: 23.8 kB / 0.7165 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.57e-05/0.9369, allocations: 17.66 kB / 0.7165 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9369, allocations: 4 kB / 0.7165 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9369, allocations: 0 / 0.7165 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.937, allocations: 7.984 kB / 0.7166 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.9381, allocations: 0.5396 MB / 0.7171 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9382, allocations: 0 / 0.7171 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.9383, allocations: 8 kB / 0.7171 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9383, allocations: 4 kB / 0.7171 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.9384, allocations: 11.98 kB / 0.7171 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.9384, allocations: 3.984 kB / 0.7171 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9384, allocations: 3.984 kB / 0.7171 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.939, allocations: 315.1 kB / 0.7174 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.9393, allocations: 136.7 kB / 0.7175 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.9394, allocations: 11.98 kB / 0.7176 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.9397, allocations: 8 kB / 0.7176 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.9398, allocations: 15.97 kB / 0.7176 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.9399, allocations: 27.98 kB / 0.7176 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002274/0.9401, allocations: 165.6 kB / 0.7178 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9401, allocations: 4 kB / 0.7178 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005843/0.9407, allocations: 52.38 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.001102/0.9418, allocations: 0.856 MB / 0.7187 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009366/0.9428, allocations: 334.8 kB / 0.719 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9428, allocations: 384 / 0.719 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.9431, allocations: 71.92 kB / 0.719 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.9434, allocations: 26.62 kB / 0.7191 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.9445, allocations: 272.1 kB / 0.7193 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.9449, allocations: 0.7243 MB / 0.72 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.9451, allocations: 37.19 kB / 0.7201 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.9453, allocations: 39.41 kB / 0.7201 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.9453, allocations: 0 / 0.7201 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.9742, allocations: 4.993 MB / 0.725 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.9745, allocations: 156.5 kB / 0.7251 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.282, allocations: 3.938 kB / 0.7251 GB, free: 2.941 MB / 0.6042 GB