Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.167/4.167, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.391e-05, allocations: 8 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2368, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8661/1.103, allocations: 131.3 MB / 0.8002 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.103, allocations: 69.33 kB / 0.8002 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08971/1.193, allocations: 22.24 MB / 0.822 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.193, allocations: 4 kB / 0.822 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.193, allocations: 3.969 kB / 0.822 GB, free: 9.984 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.001124/1.194, allocations: 0.6122 MB / 0.8226 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.194, allocations: 11.66 kB / 0.8226 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.004e-05/1.194, allocations: 48.7 kB / 0.8226 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/1.194, allocations: 30.8 kB / 0.8226 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/1.195, allocations: 242.3 kB / 0.8229 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/1.195, allocations: 15.86 kB / 0.8229 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/1.195, allocations: 26.62 kB / 0.8229 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/1.196, allocations: 445.8 kB / 0.8233 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.196, allocations: 0 / 0.8233 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/1.196, allocations: 10.42 kB / 0.8234 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.196, allocations: 3.875 kB / 0.8234 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/1.196, allocations: 324.3 kB / 0.8237 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/1.197, allocations: 0.5518 MB / 0.8242 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.199, allocations: 1.018 MB / 0.8252 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/1.2, allocations: 0.6514 MB / 0.8258 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/1.2, allocations: 18.89 kB / 0.8259 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/1.201, allocations: 474.9 kB / 0.8263 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.297e-06/1.201, allocations: 0 / 0.8263 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001499/1.202, allocations: 0.784 MB / 0.8271 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/1.202, allocations: 140.1 kB / 0.8272 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/1.203, allocations: 225.4 kB / 0.8274 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/1.203, allocations: 43.02 kB / 0.8275 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/1.203, allocations: 132.4 kB / 0.8276 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/1.203, allocations: 69.47 kB / 0.8277 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/1.203, allocations: 6.125 kB / 0.8277 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/1.203, allocations: 348.7 kB / 0.828 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/1.204, allocations: 323.2 kB / 0.8283 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/1.204, allocations: 413.2 kB / 0.8287 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/1.205, allocations: 360.2 kB / 0.829 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.205, allocations: 7.875 kB / 0.829 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001458/1.206, allocations: 0.8094 MB / 0.8298 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.206, allocations: 7.688 kB / 0.8298 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.207, allocations: 0 / 0.8298 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.207, allocations: 11.62 kB / 0.8299 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/1.207, allocations: 49.73 kB / 0.8299 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/1.207, allocations: 7.906 kB / 0.8299 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/1.207, allocations: 21.88 kB / 0.8299 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/1.208, allocations: 215.1 kB / 0.8301 GB, free: 6.523 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.0001901/1.208, allocations: 150.6 kB / 0.8303 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/1.208, allocations: 27.2 kB / 0.8303 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/1.208, allocations: 32.38 kB / 0.8303 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.208, allocations: 3.844 kB / 0.8303 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.208, allocations: 3.844 kB / 0.8303 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.208, allocations: 3.984 kB / 0.8303 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.211, allocations: 1.698 MB / 0.832 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.211, allocations: 3.75 kB / 0.832 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/1.211, allocations: 23.77 kB / 0.832 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.211, allocations: 7.875 kB / 0.832 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/1.211, allocations: 19.53 kB / 0.8321 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/1.211, allocations: 11.88 kB / 0.8321 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.211, allocations: 0 / 0.8321 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/1.213, allocations: 1.144 MB / 0.8332 GB, free: 21.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.213, allocations: 104 kB / 0.8333 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/1.213, allocations: 7.25 kB / 0.8333 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/1.214, allocations: 11.33 kB / 0.8333 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.214, allocations: 52.66 kB / 0.8334 GB, free: 20.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/1.214, allocations: 226.5 kB / 0.8336 GB, free: 20.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002518/1.214, allocations: 170.1 kB / 0.8337 GB, free: 20.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.214, allocations: 0 / 0.8337 GB, free: 20.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007811/1.215, allocations: 62.97 kB / 0.8338 GB, free: 20.7 MB / 0.6511 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.002149/1.217, allocations: 1.935 MB / 0.8357 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.219, allocations: 0.7205 MB / 0.8364 GB, free: 19.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.219, allocations: 0 / 0.8364 GB, free: 19.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007509/1.219, allocations: 400.4 kB / 0.8368 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.222, allocations: 383.8 kB / 0.8371 GB, free: 19.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/1.224, allocations: 0.927 MB / 0.838 GB, free: 18.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/1.225, allocations: 0.7579 MB / 0.8388 GB, free: 18.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005057/1.225, allocations: 104.8 kB / 0.8389 GB, free: 18.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/1.226, allocations: 120.3 kB / 0.839 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.693e-06/1.226, allocations: 3.906 kB / 0.839 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/1.261, allocations: 10.58 MB / 0.8493 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/1.261, allocations: 155 kB / 0.8495 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/4.015, allocations: 0 / 0.8495 GB, free: 12.56 MB / 0.6511 GB