Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.27/4.27, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.331e-05/5.349e-05, allocations: 6.953 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2354, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.861/1.096, allocations: 133.7 MB / 0.8084 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.097, allocations: 73.34 kB / 0.8084 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02098/1.118, allocations: 4.447 MB / 0.8128 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/1.118, allocations: 0 / 0.8128 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.738e-05/1.118, allocations: 3.812 kB / 0.8128 GB, free: 11.91 MB / 0.6355 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.001107/1.119, allocations: 0.5847 MB / 0.8134 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.119, allocations: 11.53 kB / 0.8134 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/1.119, allocations: 41.31 kB / 0.8134 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/1.119, allocations: 35 kB / 0.8134 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/1.12, allocations: 257.2 kB / 0.8137 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/1.12, allocations: 15.12 kB / 0.8137 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.171e-05/1.12, allocations: 18.67 kB / 0.8137 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/1.12, allocations: 135.4 kB / 0.8138 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.12, allocations: 3.844 kB / 0.8138 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/1.12, allocations: 3.625 kB / 0.8139 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.12, allocations: 0 / 0.8139 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/1.12, allocations: 43.83 kB / 0.8139 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/1.121, allocations: 340.8 kB / 0.8142 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/1.121, allocations: 124.9 kB / 0.8143 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/1.121, allocations: 55.72 kB / 0.8144 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/1.121, allocations: 6.766 kB / 0.8144 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/1.122, allocations: 213.1 kB / 0.8146 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.685e-06/1.122, allocations: 0 / 0.8146 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.000608/1.123, allocations: 224.7 kB / 0.8148 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.123, allocations: 58.75 kB / 0.8149 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/1.123, allocations: 262.6 kB / 0.8151 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/1.123, allocations: 33.23 kB / 0.8152 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/1.123, allocations: 95.03 kB / 0.8152 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/1.123, allocations: 37.56 kB / 0.8153 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/1.123, allocations: 7.281 kB / 0.8153 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/1.123, allocations: 327.7 kB / 0.8156 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/1.124, allocations: 94.89 kB / 0.8157 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/1.124, allocations: 152.4 kB / 0.8158 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/1.124, allocations: 153.4 kB / 0.816 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.124, allocations: 0 / 0.816 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009733/1.125, allocations: 406.2 kB / 0.8164 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/1.125, allocations: 75.48 kB / 0.8164 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.125, allocations: 3.938 kB / 0.8164 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.125, allocations: 3.875 kB / 0.8164 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/1.126, allocations: 32.48 kB / 0.8165 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.126, allocations: 3.938 kB / 0.8165 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/1.126, allocations: 52.77 kB / 0.8165 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.126, allocations: 52.67 kB / 0.8166 GB, free: 9.758 MB / 0.6355 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.000172/1.127, allocations: 129.5 kB / 0.8167 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/1.127, allocations: 30.98 kB / 0.8167 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/1.127, allocations: 31.28 kB / 0.8168 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.127, allocations: 3.938 kB / 0.8168 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.127, allocations: 4 kB / 0.8168 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.127, allocations: 11.42 kB / 0.8168 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/1.128, allocations: 0.5436 MB / 0.8173 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/1.128, allocations: 4 kB / 0.8173 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/1.128, allocations: 14.7 kB / 0.8173 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.128, allocations: 0 / 0.8173 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/1.128, allocations: 16.7 kB / 0.8173 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.128, allocations: 3.938 kB / 0.8174 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.128, allocations: 0 / 0.8174 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/1.129, allocations: 323.6 kB / 0.8177 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/1.129, allocations: 152.8 kB / 0.8178 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/1.129, allocations: 10.34 kB / 0.8178 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/1.129, allocations: 11.19 kB / 0.8178 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/1.129, allocations: 15.94 kB / 0.8178 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/1.129, allocations: 31.23 kB / 0.8179 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002429/1.13, allocations: 210 kB / 0.8181 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.13, allocations: 0 / 0.8181 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005599/1.13, allocations: 49.28 kB / 0.8181 GB, free: 8.945 MB / 0.6355 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.001185/1.131, allocations: 0.8734 MB / 0.819 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008669/1.132, allocations: 352.5 kB / 0.8193 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.132, allocations: 0 / 0.8193 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/1.133, allocations: 68.78 kB / 0.8194 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/1.133, allocations: 21.66 kB / 0.8194 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.134, allocations: 344.6 kB / 0.8197 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/1.134, allocations: 0.746 MB / 0.8205 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002232/1.135, allocations: 31.44 kB / 0.8205 GB, free: 23.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/1.135, allocations: 51.69 kB / 0.8205 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.135, allocations: 0 / 0.8205 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/1.162, allocations: 5.378 MB / 0.8258 GB, free: 22 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.162, allocations: 167.4 kB / 0.8259 GB, free: 21.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.579, allocations: 0 / 0.8259 GB, free: 21.77 MB / 0.6511 GB