Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.074/4.074, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.159e-05, allocations: 7.938 kB / 0.4992 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.6468, allocations: 92.69 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.88, allocations: 121.1 MB / 0.7079 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005289/0.8806, allocations: 83.94 kB / 0.708 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1301/1.011, allocations: 22.26 MB / 0.7297 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/1.011, allocations: 4 kB / 0.7297 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.147e-05/1.011, allocations: 8 kB / 0.7298 GB, free: 14.73 MB / 0.6198 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.001289/1.012, allocations: 0.6075 MB / 0.7303 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.012, allocations: 8.031 kB / 0.7304 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/1.012, allocations: 54.5 kB / 0.7304 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/1.012, allocations: 27.62 kB / 0.7304 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/1.013, allocations: 249.8 kB / 0.7307 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/1.013, allocations: 16.28 kB / 0.7307 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/1.013, allocations: 20 kB / 0.7307 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/1.014, allocations: 450.5 kB / 0.7311 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.014, allocations: 3.938 kB / 0.7311 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.014, allocations: 12 kB / 0.7312 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/1.014, allocations: 7.953 kB / 0.7312 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/1.015, allocations: 315.8 kB / 0.7315 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.016, allocations: 0.5509 MB / 0.732 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/1.018, allocations: 1.018 MB / 0.733 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/1.019, allocations: 0.6556 MB / 0.7336 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/1.019, allocations: 4 kB / 0.7336 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009396/1.02, allocations: 482.2 kB / 0.7341 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 3.166e-06/1.02, allocations: 0 / 0.7341 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001793/1.022, allocations: 0.7722 MB / 0.7348 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.022, allocations: 148.5 kB / 0.735 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/1.022, allocations: 220.9 kB / 0.7352 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.023, allocations: 37.7 kB / 0.7352 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.023, allocations: 128.9 kB / 0.7354 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1.023, allocations: 79.05 kB / 0.7354 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/1.023, allocations: 8 kB / 0.7354 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.023, allocations: 338.8 kB / 0.7358 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/1.024, allocations: 328.7 kB / 0.7361 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/1.024, allocations: 417.6 kB / 0.7365 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/1.025, allocations: 351.9 kB / 0.7368 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.025, allocations: 3.938 kB / 0.7368 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001823/1.027, allocations: 0.8289 MB / 0.7376 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.027, allocations: 4 kB / 0.7376 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.027, allocations: 4 kB / 0.7376 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.027, allocations: 4 kB / 0.7376 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.027, allocations: 39.91 kB / 0.7377 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/1.028, allocations: 4 kB / 0.7377 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/1.028, allocations: 35.88 kB / 0.7377 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/1.028, allocations: 207.8 kB / 0.7379 GB, free: 6 MB / 0.6198 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.0002224/1.029, allocations: 156.4 kB / 0.7381 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/1.029, allocations: 31.62 kB / 0.7381 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/1.029, allocations: 37.95 kB / 0.7381 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.029, allocations: 4 kB / 0.7381 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.029, allocations: 0 / 0.7381 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.029, allocations: 4 kB / 0.7381 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/1.032, allocations: 1.688 MB / 0.7398 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.032, allocations: 0 / 0.7398 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/1.032, allocations: 23.91 kB / 0.7398 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/1.032, allocations: 0 / 0.7398 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/1.032, allocations: 31.92 kB / 0.7398 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/1.032, allocations: 4.125 kB / 0.7398 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.032, allocations: 4 kB / 0.7398 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/1.034, allocations: 1.15 MB / 0.741 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.034, allocations: 104.7 kB / 0.7411 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/1.034, allocations: 8 kB / 0.7411 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/1.035, allocations: 4 kB / 0.7411 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.035, allocations: 47.94 kB / 0.7411 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004366/1.035, allocations: 227.5 kB / 0.7413 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003073/1.036, allocations: 173.4 kB / 0.7415 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/1.036, allocations: 0 / 0.7415 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008251/1.037, allocations: 68 kB / 0.7416 GB, free: 2.129 MB / 0.6198 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.002766/1.039, allocations: 1.943 MB / 0.7435 GB, free: 152 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001716/1.041, allocations: 0.7223 MB / 0.7442 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.041, allocations: 0 / 0.7442 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/1.042, allocations: 409 kB / 0.7446 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.045, allocations: 371.3 kB / 0.7449 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/1.048, allocations: 0.9231 MB / 0.7458 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.048, allocations: 0.7647 MB / 0.7466 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005525/1.049, allocations: 98.91 kB / 0.7467 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/1.049, allocations: 115.4 kB / 0.7468 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.293e-06/1.049, allocations: 4 kB / 0.7468 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/1.094, allocations: 10.58 MB / 0.7571 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/1.095, allocations: 165.3 kB / 0.7573 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.883, allocations: 0 / 0.7573 GB, free: 2.066 MB / 0.6355 GB