Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.01/4.01, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.431e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.629, allocations: 92.69 MB / 0.5896 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.8543, allocations: 121.9 MB / 0.7087 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.8547, allocations: 67.97 kB / 0.7088 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.8762, allocations: 4.173 MB / 0.7128 GB, free: 24 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8763, allocations: 0 / 0.7128 GB, free: 24 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.8763, allocations: 4 kB / 0.7128 GB, free: 20 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001135/0.8774, allocations: 0.5439 MB / 0.7134 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.8775, allocations: 8.031 kB / 0.7134 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/0.8776, allocations: 42.55 kB / 0.7134 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.8777, allocations: 31.67 kB / 0.7134 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.8779, allocations: 191.6 kB / 0.7136 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.878, allocations: 12 kB / 0.7136 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.8781, allocations: 19.98 kB / 0.7137 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.8785, allocations: 134.8 kB / 0.7138 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8785, allocations: 0 / 0.7138 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.8785, allocations: 4 kB / 0.7138 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.8785, allocations: 7.938 kB / 0.7138 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.8787, allocations: 47.88 kB / 0.7138 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.8792, allocations: 301.4 kB / 0.7141 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.8796, allocations: 118.7 kB / 0.7142 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.8798, allocations: 56.84 kB / 0.7143 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.8798, allocations: 7.984 kB / 0.7143 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.8804, allocations: 203 kB / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.8804, allocations: 0 / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007449/0.8812, allocations: 206.6 kB / 0.7147 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.8812, allocations: 67.33 kB / 0.7148 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.8816, allocations: 195 kB / 0.715 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.8817, allocations: 33.7 kB / 0.715 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.8818, allocations: 100.8 kB / 0.7151 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.8819, allocations: 43.53 kB / 0.7151 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.8819, allocations: 11.94 kB / 0.7151 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8821, allocations: 326.8 kB / 0.7154 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.8824, allocations: 92.22 kB / 0.7155 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.8829, allocations: 142.2 kB / 0.7157 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.8832, allocations: 144.1 kB / 0.7158 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8832, allocations: 0 / 0.7158 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001102/0.8843, allocations: 396.6 kB / 0.7162 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/0.8845, allocations: 79.56 kB / 0.7163 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.8845, allocations: 0 / 0.7163 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.8845, allocations: 4 kB / 0.7163 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.8848, allocations: 27.92 kB / 0.7163 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.8848, allocations: 4 kB / 0.7163 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/0.8855, allocations: 43.81 kB / 0.7163 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.8856, allocations: 47.97 kB / 0.7164 GB, free: 12.09 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002126/0.8858, allocations: 135.1 kB / 0.7165 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.8859, allocations: 15.81 kB / 0.7165 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/0.886, allocations: 25.64 kB / 0.7165 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.886, allocations: 0 / 0.7165 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8861, allocations: 0 / 0.7165 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8861, allocations: 8 kB / 0.7166 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.8872, allocations: 0.5393 MB / 0.7171 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8872, allocations: 0 / 0.7171 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.8873, allocations: 11.98 kB / 0.7171 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.8874, allocations: 0 / 0.7171 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.8874, allocations: 11.98 kB / 0.7171 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8874, allocations: 0 / 0.7171 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8874, allocations: 0 / 0.7171 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.888, allocations: 311 kB / 0.7174 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.8883, allocations: 144.6 kB / 0.7175 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.8884, allocations: 8 kB / 0.7175 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.8887, allocations: 15.98 kB / 0.7176 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.8887, allocations: 15.97 kB / 0.7176 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.8888, allocations: 27.98 kB / 0.7176 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002546/0.8891, allocations: 161.6 kB / 0.7178 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.41e-07/0.8891, allocations: 4 kB / 0.7178 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005688/0.8897, allocations: 48.38 kB / 0.7178 GB, free: 10.53 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.001066/0.8908, allocations: 0.8684 MB / 0.7187 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009096/0.8917, allocations: 342.8 kB / 0.719 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8917, allocations: 0 / 0.719 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.8919, allocations: 65.48 kB / 0.719 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.8923, allocations: 21.03 kB / 0.7191 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.8933, allocations: 268.1 kB / 0.7193 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.8936, allocations: 0.7282 MB / 0.72 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.8939, allocations: 33.2 kB / 0.7201 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.894, allocations: 51.34 kB / 0.7201 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.8941, allocations: 0 / 0.7201 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.9267, allocations: 4.95 MB / 0.7249 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/0.9271, allocations: 166.9 kB / 0.7251 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.329, allocations: 0 / 0.7251 GB, free: 2.961 MB / 0.6042 GB