Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.617/4.617, allocations: 404.1 MB / 411.3 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.339e-05, allocations: 0 / 0.4945 GB, free: 1.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.6705, allocations: 92.69 MB / 0.585 GB, free: 2.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.918, allocations: 121.2 MB / 0.7034 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.9184, allocations: 75.89 kB / 0.7035 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02487/0.9433, allocations: 4.151 MB / 0.7076 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9433, allocations: 0 / 0.7076 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.9434, allocations: 4 kB / 0.7076 GB, free: 4.711 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001247/0.9446, allocations: 0.5517 MB / 0.7081 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.9447, allocations: 12.03 kB / 0.7081 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.9449, allocations: 31.67 kB / 0.7081 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.9451, allocations: 195.6 kB / 0.7083 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.9451, allocations: 7.984 kB / 0.7083 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.9452, allocations: 15.98 kB / 0.7083 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001884/0.9454, allocations: 39.98 kB / 0.7084 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.9458, allocations: 129.6 kB / 0.7085 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.9458, allocations: 7.922 kB / 0.7085 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.9459, allocations: 0 / 0.7085 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.9459, allocations: 3.953 kB / 0.7085 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.9464, allocations: 281.9 kB / 0.7088 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.9468, allocations: 106.7 kB / 0.7089 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.9469, allocations: 48.84 kB / 0.7089 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.947, allocations: 4 kB / 0.7089 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006073/0.9476, allocations: 199.5 kB / 0.7091 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.815e-06/0.9476, allocations: 4 kB / 0.7091 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007188/0.9484, allocations: 197.3 kB / 0.7093 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.9484, allocations: 55.41 kB / 0.7094 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.9487, allocations: 191 kB / 0.7096 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.9488, allocations: 33.69 kB / 0.7096 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.949, allocations: 96.83 kB / 0.7097 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.9491, allocations: 39.53 kB / 0.7097 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.9491, allocations: 4 kB / 0.7097 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9493, allocations: 330.8 kB / 0.71 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.9496, allocations: 80.2 kB / 0.7101 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.95, allocations: 142.7 kB / 0.7103 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.9503, allocations: 68.7 kB / 0.7103 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.9503, allocations: 3.984 kB / 0.7103 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001071/0.9514, allocations: 303.6 kB / 0.7106 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.9516, allocations: 71.39 kB / 0.7107 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.9516, allocations: 0 / 0.7107 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.9516, allocations: 4 kB / 0.7107 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.9519, allocations: 32.09 kB / 0.7107 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.952, allocations: 8 kB / 0.7107 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.9527, allocations: 39.88 kB / 0.7108 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.9529, allocations: 39.98 kB / 0.7108 GB, free: 1.125 MB / 0.5886 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0002155/0.9531, allocations: 132.5 kB / 0.7109 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005926/0.9537, allocations: 200 kB / 0.7111 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.9538, allocations: 23.72 kB / 0.7111 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.9539, allocations: 21.95 kB / 0.7112 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9539, allocations: 0 / 0.7112 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9539, allocations: 0 / 0.7112 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9539, allocations: 0 / 0.7112 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.9551, allocations: 0.4987 MB / 0.7116 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.9551, allocations: 4 kB / 0.7117 GB, free: 200 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.9552, allocations: 11.98 kB / 0.7117 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.9552, allocations: 7.984 kB / 0.7117 GB, free: 180 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.9553, allocations: 11.98 kB / 0.7117 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9553, allocations: 0 / 0.7117 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.9553, allocations: 0 / 0.7117 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.956, allocations: 303 kB / 0.712 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.9563, allocations: 136.8 kB / 0.7121 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/0.9564, allocations: 8 kB / 0.7121 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.9567, allocations: 7.984 kB / 0.7121 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.9568, allocations: 15.98 kB / 0.7121 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.9569, allocations: 31.97 kB / 0.7122 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002222/0.9571, allocations: 149.8 kB / 0.7123 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9572, allocations: 0 / 0.7123 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000617/0.9578, allocations: 48.36 kB / 0.7124 GB, free: 15.45 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.001046/0.9588, allocations: 0.8521 MB / 0.7132 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000843/0.9597, allocations: 322.8 kB / 0.7135 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.9597, allocations: 0 / 0.7135 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.9599, allocations: 65.48 kB / 0.7136 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.9603, allocations: 16.66 kB / 0.7136 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.9614, allocations: 268.7 kB / 0.7138 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.9619, allocations: 0.7279 MB / 0.7145 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.9621, allocations: 37.19 kB / 0.7146 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.9623, allocations: 43.34 kB / 0.7146 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.9623, allocations: 0 / 0.7146 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/1.014, allocations: 4.533 MB / 0.719 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003507/1.014, allocations: 147 kB / 0.7192 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.711/3.725, allocations: 7.938 kB / 0.7192 GB, free: 8.309 MB / 0.6042 GB