Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.197/4.197, allocations: 460.5 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.301e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8862/1.118, allocations: 132 MB / 0.8008 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.118, allocations: 78.91 kB / 0.8009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07483/1.193, allocations: 18.81 MB / 0.8193 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.193, allocations: 3.938 kB / 0.8193 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.083e-05/1.193, allocations: 3.688 kB / 0.8193 GB, free: 11.31 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001113/1.194, allocations: 0.6086 MB / 0.8199 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.194, allocations: 7.5 kB / 0.8199 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/1.194, allocations: 52.64 kB / 0.8199 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/1.194, allocations: 27.02 kB / 0.8199 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/1.195, allocations: 246.6 kB / 0.8202 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/1.195, allocations: 19.25 kB / 0.8202 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/1.195, allocations: 14.41 kB / 0.8202 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/1.195, allocations: 456.1 kB / 0.8206 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.195, allocations: 4 kB / 0.8207 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/1.195, allocations: 6.875 kB / 0.8207 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.196, allocations: 3.844 kB / 0.8207 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/1.196, allocations: 321.4 kB / 0.821 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/1.197, allocations: 0.551 MB / 0.8215 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/1.198, allocations: 1.011 MB / 0.8225 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.199, allocations: 0.6596 MB / 0.8231 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/1.199, allocations: 7.781 kB / 0.8231 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/1.2, allocations: 479.2 kB / 0.8236 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 4.719e-06/1.2, allocations: 0 / 0.8236 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001409/1.202, allocations: 0.7825 MB / 0.8244 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/1.202, allocations: 139.9 kB / 0.8245 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/1.202, allocations: 232.8 kB / 0.8247 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/1.202, allocations: 37.27 kB / 0.8248 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/1.202, allocations: 121.4 kB / 0.8249 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/1.202, allocations: 75.95 kB / 0.8249 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/1.202, allocations: 10.62 kB / 0.825 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/1.202, allocations: 341.4 kB / 0.8253 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/1.203, allocations: 331.1 kB / 0.8256 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/1.203, allocations: 408.1 kB / 0.826 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/1.204, allocations: 364.6 kB / 0.8263 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.204, allocations: 0 / 0.8263 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001367/1.205, allocations: 0.8125 MB / 0.8271 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.205, allocations: 10.98 kB / 0.8271 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.205, allocations: 4.109 kB / 0.8271 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.206, allocations: 3.844 kB / 0.8271 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.206, allocations: 46.75 kB / 0.8272 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.206, allocations: 11.67 kB / 0.8272 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/1.206, allocations: 27.23 kB / 0.8272 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/1.207, allocations: 215.1 kB / 0.8274 GB, free: 7.867 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0001729/1.207, allocations: 154 kB / 0.8276 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/1.207, allocations: 27.25 kB / 0.8276 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/1.207, allocations: 43.61 kB / 0.8276 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.207, allocations: 3.844 kB / 0.8277 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.207, allocations: 0 / 0.8277 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/1.207, allocations: 3.844 kB / 0.8277 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/1.209, allocations: 1.694 MB / 0.8293 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.209, allocations: 3.781 kB / 0.8293 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/1.21, allocations: 22.91 kB / 0.8293 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.21, allocations: 3.844 kB / 0.8293 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/1.21, allocations: 22.62 kB / 0.8294 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/1.21, allocations: 11.83 kB / 0.8294 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.21, allocations: 0 / 0.8294 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.211, allocations: 1.144 MB / 0.8305 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/1.211, allocations: 96.45 kB / 0.8306 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/1.211, allocations: 14.52 kB / 0.8306 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/1.212, allocations: 7.406 kB / 0.8306 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.212, allocations: 48.22 kB / 0.8306 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/1.212, allocations: 227.1 kB / 0.8309 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001989/1.212, allocations: 170.5 kB / 0.831 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.212, allocations: 7.938 kB / 0.831 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007132/1.213, allocations: 60.28 kB / 0.8311 GB, free: 6.031 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002105/1.215, allocations: 1.943 MB / 0.833 GB, free: 20.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.216, allocations: 0.7171 MB / 0.8337 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.216, allocations: 4.25 kB / 0.8337 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006699/1.217, allocations: 402.2 kB / 0.8341 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.219, allocations: 312.4 kB / 0.8344 GB, free: 20.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/1.222, allocations: 0.9294 MB / 0.8353 GB, free: 20.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/1.222, allocations: 0.7616 MB / 0.836 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000433/1.222, allocations: 96.81 kB / 0.8361 GB, free: 19.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/1.223, allocations: 120.3 kB / 0.8362 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of SimCode: time 1.512e-06/1.223, allocations: 0 / 0.8362 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/1.256, allocations: 10.38 MB / 0.8464 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/1.256, allocations: 149.2 kB / 0.8465 GB, free: 14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.788, allocations: 0 / 0.8465 GB, free: 14 MB / 0.6511 GB