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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.527/4.527, allocations: 404.2 MB / 411.3 MB, free: 432 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.788e-05, allocations: 8 kB / 0.4946 GB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6771, allocations: 92.68 MB / 0.5851 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.9239, allocations: 122.3 MB / 0.7046 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/0.9243, allocations: 99.91 kB / 0.7047 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0273/0.9516, allocations: 4.88 MB / 0.7094 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9517, allocations: 224 / 0.7094 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.9517, allocations: 4 kB / 0.7094 GB, free: 2.816 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.001277/0.953, allocations: 0.5682 MB / 0.71 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.9531, allocations: 15.95 kB / 0.71 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.9532, allocations: 35.67 kB / 0.71 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.9535, allocations: 205.8 kB / 0.7102 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.9535, allocations: 4 kB / 0.7102 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.9536, allocations: 19.88 kB / 0.7102 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002207/0.9539, allocations: 55.98 kB / 0.7103 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.9543, allocations: 150 kB / 0.7104 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.9544, allocations: 7.984 kB / 0.7104 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.9544, allocations: 0 / 0.7104 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9544, allocations: 0 / 0.7104 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.9563, allocations: 0.5206 MB / 0.711 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.9566, allocations: 126.7 kB / 0.7111 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.9568, allocations: 52.84 kB / 0.7111 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.9569, allocations: 4 kB / 0.7111 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.9575, allocations: 199.6 kB / 0.7113 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.524e-06/0.9575, allocations: 0 / 0.7113 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007104/0.9582, allocations: 213.2 kB / 0.7115 GB, free: 492 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.9583, allocations: 67.39 kB / 0.7116 GB, free: 412 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.9586, allocations: 212.4 kB / 0.7118 GB, free: 196 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/0.9587, allocations: 33.7 kB / 0.7118 GB, free: 156 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.9589, allocations: 108.7 kB / 0.7119 GB, free: 40 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.9589, allocations: 35.61 kB / 0.712 GB, free: 4 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.959, allocations: 0 / 0.712 GB, free: 4 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9592, allocations: 326.8 kB / 0.7123 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.9596, allocations: 104.2 kB / 0.7124 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.96, allocations: 150.2 kB / 0.7125 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.9603, allocations: 74.95 kB / 0.7126 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9603, allocations: 0 / 0.7126 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001093/0.9614, allocations: 334.8 kB / 0.7129 GB, free: 15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.9616, allocations: 75.39 kB / 0.713 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.9616, allocations: 4 kB / 0.713 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.9616, allocations: 0 / 0.713 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.9619, allocations: 31.91 kB / 0.713 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9619, allocations: 4 kB / 0.713 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.9626, allocations: 51.94 kB / 0.7131 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.9628, allocations: 43.98 kB / 0.7131 GB, free: 14.79 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.0001993/0.963, allocations: 132 kB / 0.7132 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005789/0.9636, allocations: 201.3 kB / 0.7134 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.9637, allocations: 23.72 kB / 0.7135 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/0.9638, allocations: 29.89 kB / 0.7135 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.9638, allocations: 4 kB / 0.7135 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9638, allocations: 4 kB / 0.7135 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9638, allocations: 0 / 0.7135 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.9649, allocations: 0.53 MB / 0.714 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.9649, allocations: 0 / 0.714 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.965, allocations: 15.88 kB / 0.714 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.965, allocations: 4 kB / 0.714 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.9651, allocations: 7.984 kB / 0.714 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9651, allocations: 0 / 0.714 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9651, allocations: 7.953 kB / 0.714 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.9658, allocations: 301.7 kB / 0.7143 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.9661, allocations: 160.7 kB / 0.7145 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.9662, allocations: 8 kB / 0.7145 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.9665, allocations: 15.98 kB / 0.7145 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.9666, allocations: 15.97 kB / 0.7145 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.9667, allocations: 31.94 kB / 0.7145 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002352/0.9669, allocations: 168.5 kB / 0.7147 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/0.967, allocations: 0 / 0.7147 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006111/0.9676, allocations: 44 kB / 0.7147 GB, free: 13.01 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.001083/0.9687, allocations: 0.8736 MB / 0.7156 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008499/0.9695, allocations: 350.8 kB / 0.7159 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9696, allocations: 0 / 0.7159 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.9698, allocations: 69.38 kB / 0.716 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.9702, allocations: 24.34 kB / 0.716 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.9714, allocations: 307.5 kB / 0.7163 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.9718, allocations: 0.7436 MB / 0.717 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.972, allocations: 33.2 kB / 0.7171 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.9723, allocations: 43.41 kB / 0.7171 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.9723, allocations: 0 / 0.7171 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04808/1.02, allocations: 5.037 MB / 0.722 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000299/1.021, allocations: 174.1 kB / 0.7222 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.85/3.871, allocations: 4 kB / 0.7222 GB, free: 5.27 MB / 0.6042 GB