Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.71/3.71, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.721e-05, allocations: 4 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6166, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.8442, allocations: 123 MB / 0.7098 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004565/0.8448, allocations: 95.92 kB / 0.7099 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02576/0.8705, allocations: 4.916 MB / 0.7147 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8706, allocations: 0 / 0.7147 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8706, allocations: 0 / 0.7147 GB, free: 14.18 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.001229/0.8719, allocations: 0.5715 MB / 0.7153 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.8719, allocations: 12.03 kB / 0.7153 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.872, allocations: 34.56 kB / 0.7153 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.8722, allocations: 39.66 kB / 0.7153 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.8724, allocations: 205.8 kB / 0.7155 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.8725, allocations: 12 kB / 0.7155 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.8726, allocations: 19.98 kB / 0.7156 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.8731, allocations: 163.7 kB / 0.7157 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8731, allocations: 0 / 0.7157 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.8731, allocations: 0 / 0.7157 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8732, allocations: 0 / 0.7157 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.8734, allocations: 59.98 kB / 0.7158 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.8751, allocations: 0.5588 MB / 0.7163 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.8755, allocations: 134.7 kB / 0.7165 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.8757, allocations: 56.78 kB / 0.7165 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.8758, allocations: 8 kB / 0.7165 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.8764, allocations: 195.7 kB / 0.7167 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.725e-06/0.8764, allocations: 0 / 0.7167 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007818/0.8772, allocations: 229.3 kB / 0.7169 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.8773, allocations: 63.34 kB / 0.717 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.8777, allocations: 225 kB / 0.7172 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/0.8778, allocations: 33.7 kB / 0.7172 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.8779, allocations: 96.91 kB / 0.7173 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.878, allocations: 51.44 kB / 0.7174 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.878, allocations: 8 kB / 0.7174 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8782, allocations: 322.8 kB / 0.7177 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.8786, allocations: 112.2 kB / 0.7178 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.879, allocations: 157.7 kB / 0.7179 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.8794, allocations: 161.7 kB / 0.7181 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8794, allocations: 0 / 0.7181 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001169/0.8806, allocations: 424.8 kB / 0.7185 GB, free: 10 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.8808, allocations: 79.58 kB / 0.7186 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8808, allocations: 4 kB / 0.7186 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8808, allocations: 3.938 kB / 0.7186 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.8811, allocations: 31.91 kB / 0.7186 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8811, allocations: 3.953 kB / 0.7186 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.8818, allocations: 51.81 kB / 0.7187 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.8819, allocations: 43.98 kB / 0.7187 GB, free: 9.773 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.0002053/0.8821, allocations: 136 kB / 0.7188 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.8822, allocations: 23.7 kB / 0.7189 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.8823, allocations: 21.97 kB / 0.7189 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8823, allocations: 4 kB / 0.7189 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8823, allocations: 0 / 0.7189 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8824, allocations: 7.938 kB / 0.7189 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.8835, allocations: 0.5668 MB / 0.7195 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8835, allocations: 3.984 kB / 0.7195 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.8836, allocations: 8 kB / 0.7195 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.8836, allocations: 0 / 0.7195 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.8837, allocations: 11.97 kB / 0.7195 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.8837, allocations: 7.953 kB / 0.7195 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8837, allocations: 4 kB / 0.7195 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.8843, allocations: 319 kB / 0.7198 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.8846, allocations: 156.8 kB / 0.7199 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.8847, allocations: 16 kB / 0.72 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.885, allocations: 7.984 kB / 0.72 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.8851, allocations: 19.94 kB / 0.72 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.8852, allocations: 23.98 kB / 0.72 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000241/0.8854, allocations: 173.4 kB / 0.7202 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8854, allocations: 0 / 0.7202 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005453/0.886, allocations: 67.83 kB / 0.7202 GB, free: 8.125 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.001045/0.8871, allocations: 0.8754 MB / 0.7211 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008959/0.888, allocations: 362.8 kB / 0.7214 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.888, allocations: 0 / 0.7214 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.8882, allocations: 73.94 kB / 0.7215 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.8887, allocations: 36.69 kB / 0.7215 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8897, allocations: 308.2 kB / 0.7218 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.8901, allocations: 0.7361 MB / 0.7226 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000286/0.8904, allocations: 33.2 kB / 0.7226 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.8907, allocations: 55.34 kB / 0.7226 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.8907, allocations: 0 / 0.7226 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.9194, allocations: 5.561 MB / 0.7281 GB, free: 104 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.9197, allocations: 184.4 kB / 0.7282 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.159, allocations: 0 / 0.7282 GB, free: 15.88 MB / 0.6198 GB