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 4.211/4.211, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.544e-05/5.572e-05, allocations: 8 kB / 0.4991 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6573, allocations: 92.68 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.9171, allocations: 123 MB / 0.7098 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/0.9176, allocations: 95.94 kB / 0.7099 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0244/0.942, allocations: 4.906 MB / 0.7147 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9421, allocations: 0 / 0.7147 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.9421, 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.001221/0.9433, allocations: 0.5768 MB / 0.7152 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.9434, allocations: 12.03 kB / 0.7152 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.9435, allocations: 38.55 kB / 0.7153 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.9436, allocations: 35.67 kB / 0.7153 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.9438, allocations: 197.8 kB / 0.7155 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.9439, allocations: 15.98 kB / 0.7155 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.944, allocations: 16 kB / 0.7155 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.9445, allocations: 165.4 kB / 0.7157 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9445, allocations: 0 / 0.7157 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.9445, allocations: 7.984 kB / 0.7157 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.9446, allocations: 11.94 kB / 0.7157 GB, free: 13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.9448, allocations: 59.97 kB / 0.7158 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.9466, allocations: 0.5471 MB / 0.7163 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.947, allocations: 134.7 kB / 0.7164 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.9473, allocations: 56.84 kB / 0.7165 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.9473, allocations: 3.984 kB / 0.7165 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/0.9479, allocations: 212.7 kB / 0.7167 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.9479, allocations: 0 / 0.7167 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007612/0.9487, allocations: 221.4 kB / 0.7169 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.9488, allocations: 67.39 kB / 0.717 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.9491, allocations: 220.9 kB / 0.7172 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/0.9493, allocations: 45.69 kB / 0.7172 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.9494, allocations: 92.92 kB / 0.7173 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.9495, allocations: 43.44 kB / 0.7173 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.9495, allocations: 8 kB / 0.7174 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9497, allocations: 322.8 kB / 0.7177 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.9501, allocations: 112.2 kB / 0.7178 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.9505, allocations: 162.5 kB / 0.7179 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.951, allocations: 156.2 kB / 0.7181 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.951, allocations: 8 kB / 0.7181 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001197/0.9522, allocations: 427.5 kB / 0.7185 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.9523, allocations: 75.39 kB / 0.7186 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9523, allocations: 0 / 0.7186 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.9523, allocations: 4 kB / 0.7186 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.9526, allocations: 35.86 kB / 0.7186 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.9527, allocations: 4 kB / 0.7186 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.9534, allocations: 52 kB / 0.7187 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.9535, allocations: 43.92 kB / 0.7187 GB, free: 9.754 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.000216/0.9537, allocations: 136 kB / 0.7188 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.9538, allocations: 23.72 kB / 0.7188 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.429e-05/0.9539, allocations: 29.95 kB / 0.7189 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9539, allocations: 4 kB / 0.7189 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9539, allocations: 3.953 kB / 0.7189 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9539, allocations: 0 / 0.7189 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.9551, allocations: 0.5607 MB / 0.7194 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9551, allocations: 0 / 0.7194 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.9552, allocations: 11.98 kB / 0.7194 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.9552, allocations: 0 / 0.7194 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.9553, allocations: 15.94 kB / 0.7195 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9553, allocations: 0 / 0.7195 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9553, allocations: 4 kB / 0.7195 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.9559, allocations: 319 kB / 0.7198 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.9562, allocations: 156.8 kB / 0.7199 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.9563, allocations: 8 kB / 0.7199 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.9566, allocations: 19.94 kB / 0.7199 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.9567, allocations: 15.83 kB / 0.72 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.9568, allocations: 35.97 kB / 0.72 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002521/0.9571, allocations: 181.4 kB / 0.7202 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.375e-06/0.9571, allocations: 0 / 0.7202 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005332/0.9576, allocations: 51.94 kB / 0.7202 GB, free: 8.105 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.001067/0.9587, allocations: 0.8754 MB / 0.7211 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009419/0.9597, allocations: 377 kB / 0.7214 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9597, allocations: 0 / 0.7214 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.9599, allocations: 67.92 kB / 0.7215 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.9604, allocations: 40.92 kB / 0.7215 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.9615, allocations: 308.6 kB / 0.7218 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.9619, allocations: 0.74 MB / 0.7225 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.9621, allocations: 33.2 kB / 0.7226 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.9623, allocations: 47.41 kB / 0.7226 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.9624, allocations: 0 / 0.7226 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.9954, allocations: 5.57 MB / 0.7281 GB, free: 72 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/0.9958, allocations: 181.7 kB / 0.7282 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.519, allocations: 0 / 0.7282 GB, free: 15.85 MB / 0.6198 GB