Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.748/3.748, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.65e-05, allocations: 4 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6234, allocations: 92.69 MB / 0.5897 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.8546, allocations: 123 MB / 0.7098 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/0.8551, allocations: 95.92 kB / 0.7099 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02398/0.8791, allocations: 4.899 MB / 0.7147 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8791, allocations: 0 / 0.7147 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8791, allocations: 0 / 0.7147 GB, free: 14.29 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001237/0.8804, allocations: 0.5715 MB / 0.7153 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.8805, allocations: 12.03 kB / 0.7153 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.8805, allocations: 34.56 kB / 0.7153 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.8807, allocations: 39.66 kB / 0.7153 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.8809, allocations: 201.8 kB / 0.7155 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.8809, allocations: 8 kB / 0.7155 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8811, allocations: 23.98 kB / 0.7156 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.8815, allocations: 163.2 kB / 0.7157 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8815, allocations: 4 kB / 0.7157 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.8816, allocations: 4 kB / 0.7157 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8816, allocations: 0 / 0.7157 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.8818, allocations: 55.98 kB / 0.7158 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.8835, allocations: 0.5666 MB / 0.7163 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.8839, allocations: 122.7 kB / 0.7164 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.8841, allocations: 56.84 kB / 0.7165 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.8842, allocations: 11.92 kB / 0.7165 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/0.8848, allocations: 195.7 kB / 0.7167 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.366e-06/0.8848, allocations: 4 kB / 0.7167 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007522/0.8855, allocations: 226.9 kB / 0.7169 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.8856, allocations: 67.34 kB / 0.717 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.886, allocations: 225 kB / 0.7172 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/0.8861, allocations: 33.7 kB / 0.7172 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.8862, allocations: 96.91 kB / 0.7173 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.8863, allocations: 47.44 kB / 0.7174 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.8864, allocations: 8 kB / 0.7174 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8865, allocations: 326.8 kB / 0.7177 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.8869, allocations: 108.2 kB / 0.7178 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.8874, allocations: 161.5 kB / 0.7179 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.8878, allocations: 160.2 kB / 0.7181 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8878, allocations: 0 / 0.7181 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001201/0.889, allocations: 429.3 kB / 0.7185 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.8891, allocations: 75.39 kB / 0.7186 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8891, allocations: 4 kB / 0.7186 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8892, allocations: 0 / 0.7186 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.8895, allocations: 24.11 kB / 0.7186 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.8895, allocations: 15.94 kB / 0.7186 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/0.8901, allocations: 51.77 kB / 0.7187 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8903, allocations: 43.97 kB / 0.7187 GB, free: 9.875 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002079/0.8905, allocations: 132 kB / 0.7188 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.8906, allocations: 23.72 kB / 0.7189 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.8907, allocations: 25.95 kB / 0.7189 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.8907, allocations: 7.984 kB / 0.7189 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8907, allocations: 0 / 0.7189 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.8908, allocations: 7.938 kB / 0.7189 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.8919, allocations: 0.5615 MB / 0.7195 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8919, allocations: 0 / 0.7195 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.892, allocations: 8 kB / 0.7195 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.892, allocations: 0 / 0.7195 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.892, allocations: 15.97 kB / 0.7195 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.8921, allocations: 7.953 kB / 0.7195 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8921, allocations: 0 / 0.7195 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.8927, allocations: 321.7 kB / 0.7198 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.893, allocations: 148.8 kB / 0.7199 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.8931, allocations: 19.98 kB / 0.7199 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.8934, allocations: 7.938 kB / 0.72 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.8935, allocations: 23.92 kB / 0.72 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.8935, allocations: 31.98 kB / 0.72 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002399/0.8938, allocations: 173.4 kB / 0.7202 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.2e-07/0.8938, allocations: 0 / 0.7202 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000559/0.8944, allocations: 63.89 kB / 0.7202 GB, free: 8.227 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.8955, allocations: 0.8737 MB / 0.7211 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000915/0.8964, allocations: 364.8 kB / 0.7214 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.8964, allocations: 0 / 0.7214 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.8966, allocations: 75.89 kB / 0.7215 GB, free: 6.871 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.8971, allocations: 36.3 kB / 0.7215 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.8982, allocations: 308.6 kB / 0.7218 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.8988, allocations: 0.7438 MB / 0.7226 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.899, allocations: 37.12 kB / 0.7226 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.8992, allocations: 51.41 kB / 0.7226 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of SimCode: time 3.637e-06/0.8992, allocations: 0 / 0.7226 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.9328, allocations: 5.546 MB / 0.7281 GB, free: 212 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/0.9332, allocations: 191.6 kB / 0.7282 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.209, allocations: 10.44 kB / 0.7283 GB, free: 15.97 MB / 0.6198 GB