Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.245/4.245, allocations: 460.5 MB / 472.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.138e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8595/1.121, allocations: 133.2 MB / 0.802 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.121, allocations: 72.44 kB / 0.8021 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0206/1.142, allocations: 4.455 MB / 0.8064 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/1.142, allocations: 0 / 0.8064 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.142, allocations: 3.844 kB / 0.8064 GB, free: 12.64 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.001039/1.143, allocations: 0.5889 MB / 0.807 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.143, allocations: 7.812 kB / 0.807 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/1.143, allocations: 52.73 kB / 0.8071 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/1.143, allocations: 31.2 kB / 0.8071 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/1.144, allocations: 257.7 kB / 0.8073 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/1.144, allocations: 10.94 kB / 0.8074 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/1.144, allocations: 17.78 kB / 0.8074 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/1.144, allocations: 138.8 kB / 0.8075 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.144, allocations: 0 / 0.8075 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/1.144, allocations: 6.672 kB / 0.8075 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.144, allocations: 3.844 kB / 0.8075 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/1.144, allocations: 41.09 kB / 0.8075 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/1.145, allocations: 333 kB / 0.8079 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/1.145, allocations: 120.5 kB / 0.808 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/1.145, allocations: 59.25 kB / 0.808 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/1.145, allocations: 4 kB / 0.808 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/1.146, allocations: 212.2 kB / 0.8082 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.325e-06/1.146, allocations: 0 / 0.8082 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006053/1.146, allocations: 220 kB / 0.8085 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/1.147, allocations: 62.84 kB / 0.8085 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/1.147, allocations: 259 kB / 0.8088 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/1.147, allocations: 33.2 kB / 0.8088 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/1.147, allocations: 94.88 kB / 0.8089 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/1.147, allocations: 38.94 kB / 0.8089 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/1.147, allocations: 7.531 kB / 0.8089 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/1.147, allocations: 328.7 kB / 0.8092 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/1.148, allocations: 100.9 kB / 0.8093 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/1.148, allocations: 149.5 kB / 0.8095 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/1.148, allocations: 150.3 kB / 0.8096 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.148, allocations: 0 / 0.8096 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009868/1.149, allocations: 411.3 kB / 0.81 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/1.149, allocations: 71.39 kB / 0.8101 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.149, allocations: 0 / 0.8101 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.149, allocations: 3.844 kB / 0.8101 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/1.15, allocations: 30.44 kB / 0.8101 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.15, allocations: 4.062 kB / 0.8101 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/1.15, allocations: 54.97 kB / 0.8102 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.15, allocations: 52.66 kB / 0.8102 GB, free: 10.49 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.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.0001677/1.151, allocations: 141 kB / 0.8104 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/1.151, allocations: 27 kB / 0.8104 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/1.151, allocations: 36.38 kB / 0.8104 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.151, allocations: 0 / 0.8104 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.151, allocations: 0 / 0.8104 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.151, allocations: 6.188 kB / 0.8104 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/1.152, allocations: 0.555 MB / 0.811 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.152, allocations: 0 / 0.811 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/1.152, allocations: 11.59 kB / 0.811 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.152, allocations: 0 / 0.811 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/1.152, allocations: 16.16 kB / 0.811 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.152, allocations: 0 / 0.811 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.152, allocations: 4 kB / 0.811 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/1.153, allocations: 318.3 kB / 0.8113 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/1.153, allocations: 158 kB / 0.8115 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/1.153, allocations: 13.64 kB / 0.8115 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/1.153, allocations: 10.06 kB / 0.8115 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/1.153, allocations: 12.59 kB / 0.8115 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/1.153, allocations: 32.19 kB / 0.8115 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002399/1.154, allocations: 210.1 kB / 0.8117 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.154, allocations: 0 / 0.8117 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005442/1.154, allocations: 53.97 kB / 0.8118 GB, free: 9.672 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 (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.001175/1.155, allocations: 0.8782 MB / 0.8126 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008584/1.156, allocations: 341.9 kB / 0.813 GB, free: 24.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.156, allocations: 0 / 0.813 GB, free: 24.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/1.156, allocations: 74.77 kB / 0.813 GB, free: 24.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/1.157, allocations: 17.11 kB / 0.813 GB, free: 24.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/1.158, allocations: 341.4 kB / 0.8134 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/1.158, allocations: 0.7398 MB / 0.8141 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000228/1.159, allocations: 40.61 kB / 0.8141 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.159, allocations: 50.42 kB / 0.8142 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.312e-06/1.159, allocations: 0 / 0.8142 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/1.189, allocations: 5.42 MB / 0.8195 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.19, allocations: 152.3 kB / 0.8196 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.451, allocations: 0 / 0.8196 GB, free: 23.04 MB / 0.6511 GB