Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.406/4.406, allocations: 404.1 MB / 411.3 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.65e-05, allocations: 8 kB / 0.4946 GB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6856, allocations: 92.68 MB / 0.5851 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/0.9357, allocations: 122.2 MB / 0.7044 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/0.9362, allocations: 95.92 kB / 0.7045 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02724/0.9634, allocations: 4.867 MB / 0.7093 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.959e-06/0.9635, allocations: 0 / 0.7093 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.9635, allocations: 7.938 kB / 0.7093 GB, free: 2.938 MB / 0.5886 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.0013/0.9648, allocations: 0.5754 MB / 0.7099 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.9649, allocations: 12.02 kB / 0.7099 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.9651, allocations: 31.67 kB / 0.7099 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.9653, allocations: 201.8 kB / 0.7101 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.9654, allocations: 3.938 kB / 0.7101 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.9655, allocations: 16 kB / 0.7101 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002156/0.9657, allocations: 55.98 kB / 0.7102 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.9662, allocations: 145.5 kB / 0.7103 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9662, allocations: 4 kB / 0.7103 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.9663, allocations: 7.984 kB / 0.7103 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9663, allocations: 0 / 0.7103 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.9681, allocations: 0.5284 MB / 0.7108 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.9685, allocations: 122.7 kB / 0.711 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.9687, allocations: 60.78 kB / 0.711 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.9688, allocations: 0 / 0.711 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006147/0.9694, allocations: 211.5 kB / 0.7112 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.745e-06/0.9694, allocations: 0 / 0.7112 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007398/0.9702, allocations: 204.1 kB / 0.7114 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.9702, allocations: 67.41 kB / 0.7115 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.9706, allocations: 216.4 kB / 0.7117 GB, free: 316 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/0.9707, allocations: 29.7 kB / 0.7117 GB, free: 280 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.9709, allocations: 108.7 kB / 0.7118 GB, free: 164 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.9709, allocations: 31.61 kB / 0.7118 GB, free: 132 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.971, allocations: 4 kB / 0.7118 GB, free: 128 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9712, allocations: 330.8 kB / 0.7122 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.9716, allocations: 100.2 kB / 0.7123 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.972, allocations: 150.2 kB / 0.7124 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.9723, allocations: 78.58 kB / 0.7125 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.9723, allocations: 0 / 0.7125 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001134/0.9735, allocations: 335.7 kB / 0.7128 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.9736, allocations: 75.39 kB / 0.7129 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9736, allocations: 0 / 0.7129 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.9737, allocations: 4 kB / 0.7129 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.974, allocations: 27.91 kB / 0.7129 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.974, allocations: 4 kB / 0.7129 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.9747, allocations: 51.94 kB / 0.7129 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.9749, allocations: 43.98 kB / 0.713 GB, free: 14.9 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.0002836/0.9752, allocations: 132 kB / 0.7131 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006097/0.9758, allocations: 201.3 kB / 0.7133 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.9759, allocations: 23.72 kB / 0.7133 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.976, allocations: 25.89 kB / 0.7134 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.976, allocations: 8 kB / 0.7134 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.976, allocations: 0 / 0.7134 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9761, allocations: 0 / 0.7134 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.9772, allocations: 0.5363 MB / 0.7139 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9773, allocations: 0 / 0.7139 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.9774, allocations: 11.92 kB / 0.7139 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.9774, allocations: 0 / 0.7139 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.9774, allocations: 11.98 kB / 0.7139 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.9775, allocations: 0 / 0.7139 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.9775, allocations: 7.953 kB / 0.7139 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.9781, allocations: 299.1 kB / 0.7142 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.9784, allocations: 160.7 kB / 0.7144 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.9786, allocations: 12 kB / 0.7144 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.9789, allocations: 11.98 kB / 0.7144 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.979, allocations: 15.92 kB / 0.7144 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.9791, allocations: 31.92 kB / 0.7144 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002512/0.9794, allocations: 172.5 kB / 0.7146 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9794, allocations: 0 / 0.7146 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006342/0.98, allocations: 44 kB / 0.7146 GB, free: 13.12 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.001174/0.9812, allocations: 0.8628 MB / 0.7155 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009535/0.9822, allocations: 354.8 kB / 0.7158 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9822, allocations: 0 / 0.7158 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.9824, allocations: 62.95 kB / 0.7159 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.9829, allocations: 34.22 kB / 0.7159 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.9842, allocations: 308.3 kB / 0.7162 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.9847, allocations: 0.7475 MB / 0.7169 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.985, allocations: 29.2 kB / 0.717 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.9852, allocations: 43.42 kB / 0.717 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.9852, allocations: 0 / 0.717 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/1.037, allocations: 5.03 MB / 0.7219 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002958/1.038, allocations: 172.3 kB / 0.7221 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.743/3.78, allocations: 4 kB / 0.7221 GB, free: 5.398 MB / 0.6042 GB