Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.671/3.671, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.577e-05/4.581e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6261, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.8545, allocations: 121.9 MB / 0.7087 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.8548, allocations: 71.95 kB / 0.7088 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.8769, allocations: 4.177 MB / 0.7129 GB, free: 104 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/0.877, allocations: 4 kB / 0.7129 GB, free: 100 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.877, allocations: 0 / 0.7129 GB, free: 100 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.00122/0.8783, allocations: 0.5489 MB / 0.7134 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.8783, allocations: 12.03 kB / 0.7134 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.8784, allocations: 38.5 kB / 0.7134 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.8785, allocations: 31.67 kB / 0.7135 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.8788, allocations: 199.6 kB / 0.7137 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.8788, allocations: 12 kB / 0.7137 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.8789, allocations: 12 kB / 0.7137 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.8793, allocations: 142.8 kB / 0.7138 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8794, allocations: 0 / 0.7138 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.8794, allocations: 0 / 0.7138 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8794, allocations: 0 / 0.7138 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.8796, allocations: 55.88 kB / 0.7139 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.8801, allocations: 301.4 kB / 0.7142 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.8805, allocations: 114.7 kB / 0.7143 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.8807, allocations: 57.22 kB / 0.7143 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.8808, allocations: 3.984 kB / 0.7143 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005984/0.8814, allocations: 211 kB / 0.7145 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.865e-06/0.8814, allocations: 0 / 0.7145 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007304/0.8821, allocations: 210.4 kB / 0.7147 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.8822, allocations: 63.34 kB / 0.7148 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.8825, allocations: 199 kB / 0.715 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/0.8826, allocations: 41.7 kB / 0.715 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.8827, allocations: 88.83 kB / 0.7151 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.8828, allocations: 47.42 kB / 0.7152 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.8829, allocations: 11.98 kB / 0.7152 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8831, allocations: 326.8 kB / 0.7155 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.8834, allocations: 92.22 kB / 0.7156 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.8838, allocations: 142.4 kB / 0.7157 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.8842, allocations: 154.3 kB / 0.7158 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8842, allocations: 0 / 0.7158 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001132/0.8854, allocations: 399 kB / 0.7162 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.8855, allocations: 71.39 kB / 0.7163 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8855, allocations: 4 kB / 0.7163 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.8855, allocations: 12.17 kB / 0.7163 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.8858, allocations: 23.92 kB / 0.7163 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.8859, allocations: 0 / 0.7163 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.8865, allocations: 51.81 kB / 0.7164 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.8866, allocations: 43.98 kB / 0.7164 GB, free: 12.14 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.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.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.0002086/0.8869, allocations: 139.1 kB / 0.7166 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.8869, allocations: 15.81 kB / 0.7166 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.677e-05/0.887, allocations: 25.64 kB / 0.7166 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.887, allocations: 0 / 0.7166 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8871, allocations: 0 / 0.7166 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8871, allocations: 0 / 0.7166 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.8882, allocations: 0.5354 MB / 0.7171 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.8883, allocations: 4 kB / 0.7171 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.8884, allocations: 11.98 kB / 0.7171 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.8884, allocations: 0 / 0.7171 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.8884, allocations: 15.98 kB / 0.7172 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.8884, allocations: 4 kB / 0.7172 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8884, allocations: 0 / 0.7172 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.8891, allocations: 299.1 kB / 0.7174 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.8894, allocations: 148.6 kB / 0.7176 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.8895, allocations: 8 kB / 0.7176 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.8898, allocations: 15.98 kB / 0.7176 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.8899, allocations: 15.98 kB / 0.7176 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.8899, allocations: 19.98 kB / 0.7176 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002278/0.8902, allocations: 169.6 kB / 0.7178 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8902, allocations: 0 / 0.7178 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005428/0.8907, allocations: 55.98 kB / 0.7179 GB, free: 10.59 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.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.001079/0.8918, allocations: 0.864 MB / 0.7187 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008698/0.8927, allocations: 336.7 kB / 0.719 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8927, allocations: 0 / 0.719 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.893, allocations: 71.91 kB / 0.7191 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.8933, allocations: 20.55 kB / 0.7191 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.8943, allocations: 280.4 kB / 0.7194 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.8947, allocations: 0.7282 MB / 0.7201 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.8949, allocations: 33.2 kB / 0.7201 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.8951, allocations: 35.42 kB / 0.7202 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of SimCode: time 3.607e-06/0.8952, allocations: 0 / 0.7202 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.9267, allocations: 4.963 MB / 0.725 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/0.9271, allocations: 171 kB / 0.7252 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.12, allocations: 0 / 0.7252 GB, free: 3.023 MB / 0.6042 GB