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.979/3.979, allocations: 403.3 MB / 415.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.445e-05, allocations: 8 kB / 0.4991 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6081, allocations: 92.68 MB / 0.5897 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.8691, allocations: 123 MB / 0.7098 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005395/0.8697, allocations: 99.86 kB / 0.7099 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03074/0.9005, allocations: 4.902 MB / 0.7147 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.438e-06/0.9005, allocations: 0 / 0.7147 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.9006, allocations: 7.938 kB / 0.7147 GB, free: 14.25 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.001214/0.9018, allocations: 0.5682 MB / 0.7152 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.9019, allocations: 8.031 kB / 0.7152 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.9019, allocations: 42.55 kB / 0.7153 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.9021, allocations: 35.67 kB / 0.7153 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.9023, allocations: 197.8 kB / 0.7155 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.9024, allocations: 15.98 kB / 0.7155 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.9025, allocations: 16 kB / 0.7155 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.9029, allocations: 170 kB / 0.7157 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.903, allocations: 0 / 0.7157 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.903, allocations: 0 / 0.7157 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.903, allocations: 4 kB / 0.7157 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.9032, allocations: 59.97 kB / 0.7158 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.9049, allocations: 0.5588 MB / 0.7163 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.9054, allocations: 130.7 kB / 0.7164 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.9056, allocations: 56.78 kB / 0.7165 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.9056, allocations: 4 kB / 0.7165 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000564/0.9062, allocations: 216.8 kB / 0.7167 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.645e-06/0.9062, allocations: 0 / 0.7167 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007469/0.907, allocations: 225.3 kB / 0.7169 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.907, allocations: 63.38 kB / 0.717 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.9074, allocations: 225 kB / 0.7172 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.171e-05/0.9075, allocations: 41.7 kB / 0.7172 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.9076, allocations: 88.92 kB / 0.7173 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.9077, allocations: 47.44 kB / 0.7173 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.9078, allocations: 8 kB / 0.7174 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9079, allocations: 326.8 kB / 0.7177 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.9083, allocations: 104.2 kB / 0.7178 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.9088, allocations: 158.5 kB / 0.7179 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.9092, allocations: 170.2 kB / 0.7181 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9092, allocations: 0 / 0.7181 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001224/0.9104, allocations: 423.1 kB / 0.7185 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.9106, allocations: 80.62 kB / 0.7186 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9106, allocations: 0 / 0.7186 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.9106, allocations: 4 kB / 0.7186 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.9109, allocations: 36.06 kB / 0.7186 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.9109, allocations: 4 kB / 0.7186 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.9116, allocations: 51.75 kB / 0.7186 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.9117, allocations: 39.98 kB / 0.7187 GB, free: 9.832 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.0002316/0.912, allocations: 144.5 kB / 0.7188 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.912, allocations: 23.7 kB / 0.7188 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.9121, allocations: 29.95 kB / 0.7189 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9122, allocations: 0 / 0.7189 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9122, allocations: 7.953 kB / 0.7189 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.9122, allocations: 0 / 0.7189 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.9133, allocations: 0.5568 MB / 0.7194 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.9134, allocations: 0 / 0.7194 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.9135, allocations: 11.98 kB / 0.7194 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.9135, allocations: 8 kB / 0.7194 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.9135, allocations: 11.94 kB / 0.7195 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9136, allocations: 0 / 0.7195 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9136, allocations: 0 / 0.7195 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.9142, allocations: 329.5 kB / 0.7198 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.9145, allocations: 148.8 kB / 0.7199 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.9146, allocations: 8 kB / 0.7199 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.9149, allocations: 23.94 kB / 0.7199 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.915, allocations: 19.88 kB / 0.72 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.915, allocations: 23.98 kB / 0.72 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002429/0.9153, allocations: 177.4 kB / 0.7202 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9153, allocations: 7.875 kB / 0.7202 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005402/0.9159, allocations: 48 kB / 0.7202 GB, free: 8.184 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.001102/0.917, allocations: 0.8854 MB / 0.7211 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009959/0.918, allocations: 364.7 kB / 0.7214 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.918, allocations: 0 / 0.7214 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.9183, allocations: 67.92 kB / 0.7215 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.9187, allocations: 38.17 kB / 0.7215 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.9198, allocations: 310.8 kB / 0.7218 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.9202, allocations: 0.7438 MB / 0.7225 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.9204, allocations: 37.19 kB / 0.7226 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.9206, allocations: 47.42 kB / 0.7226 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/0.9206, allocations: 4 kB / 0.7226 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.9565, allocations: 5.56 MB / 0.7281 GB, free: 156 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.9569, allocations: 194.4 kB / 0.7282 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.503, allocations: 6.859 kB / 0.7283 GB, free: 15.92 MB / 0.6198 GB