Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.943/3.943, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.008e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6385, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.869, allocations: 120.8 MB / 0.7076 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.8694, allocations: 71.95 kB / 0.7076 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08914/0.9585, allocations: 18.82 MB / 0.726 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9586, allocations: 0 / 0.726 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.9586, allocations: 8 kB / 0.726 GB, free: 2.656 MB / 0.6042 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.001314/0.96, allocations: 0.5919 MB / 0.7266 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.96, allocations: 8.031 kB / 0.7266 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.9602, allocations: 54.5 kB / 0.7266 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.9603, allocations: 27.62 kB / 0.7267 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.9608, allocations: 253.7 kB / 0.7269 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.9609, allocations: 12.28 kB / 0.7269 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.9609, allocations: 16 kB / 0.7269 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.9619, allocations: 458.7 kB / 0.7274 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9619, allocations: 0 / 0.7274 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.962, allocations: 8 kB / 0.7274 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.962, allocations: 7.953 kB / 0.7274 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.9627, allocations: 315.8 kB / 0.7277 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.9637, allocations: 0.5587 MB / 0.7282 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.9658, allocations: 1.022 MB / 0.7292 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.9671, allocations: 0.6596 MB / 0.7299 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.9672, allocations: 4 kB / 0.7299 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009564/0.9682, allocations: 474.2 kB / 0.7303 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.796e-06/0.9682, allocations: 0 / 0.7303 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.00184/0.9701, allocations: 0.7882 MB / 0.7311 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.9702, allocations: 152.4 kB / 0.7313 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.9707, allocations: 224.8 kB / 0.7315 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/0.9708, allocations: 37.7 kB / 0.7315 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.9709, allocations: 128.8 kB / 0.7316 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.971, allocations: 71.06 kB / 0.7317 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.9711, allocations: 16 kB / 0.7317 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.9713, allocations: 338.8 kB / 0.732 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006991/0.972, allocations: 324.7 kB / 0.7323 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.9727, allocations: 418.5 kB / 0.7327 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.9735, allocations: 359.7 kB / 0.7331 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.9736, allocations: 0 / 0.7331 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001814/0.9754, allocations: 0.8249 MB / 0.7339 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.9755, allocations: 11.94 kB / 0.7339 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.9755, allocations: 4 kB / 0.7339 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.9755, allocations: 4 kB / 0.7339 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.9758, allocations: 39.91 kB / 0.7339 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.9759, allocations: 11.92 kB / 0.734 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.9763, allocations: 23.89 kB / 0.734 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/0.9767, allocations: 207.6 kB / 0.7342 GB, free: 9.914 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.0002233/0.9769, allocations: 149.1 kB / 0.7343 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.9771, allocations: 35.56 kB / 0.7344 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.9772, allocations: 37.95 kB / 0.7344 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.9772, allocations: 4 kB / 0.7344 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.9772, allocations: 0 / 0.7344 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.9772, allocations: 3.984 kB / 0.7344 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.9805, allocations: 1.703 MB / 0.7361 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.9806, allocations: 3.984 kB / 0.7361 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.9807, allocations: 23.91 kB / 0.7361 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.9807, allocations: 0 / 0.7361 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.9808, allocations: 27.92 kB / 0.7361 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.9808, allocations: 4 kB / 0.7361 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.9808, allocations: 0 / 0.7361 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.9826, allocations: 1.142 MB / 0.7372 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.9828, allocations: 112.7 kB / 0.7373 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.9829, allocations: 8 kB / 0.7374 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.9833, allocations: 4 kB / 0.7374 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.9834, allocations: 47.94 kB / 0.7374 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004367/0.9839, allocations: 227.7 kB / 0.7376 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002742/0.9842, allocations: 169.4 kB / 0.7378 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9842, allocations: 0 / 0.7378 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007083/0.9849, allocations: 60 kB / 0.7378 GB, free: 6.043 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.002441/0.9874, allocations: 1.949 MB / 0.7397 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.9891, allocations: 0.7299 MB / 0.7405 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9891, allocations: 4.188 kB / 0.7405 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009081/0.99, allocations: 403.7 kB / 0.7408 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.9927, allocations: 314.1 kB / 0.7411 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.9955, allocations: 0.9282 MB / 0.742 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.9961, allocations: 0.7647 MB / 0.7428 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007188/0.9969, allocations: 102.9 kB / 0.7429 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.9973, allocations: 111.4 kB / 0.743 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.9973, allocations: 0 / 0.743 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08796/1.085, allocations: 10.4 MB / 0.7532 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/1.086, allocations: 154.6 kB / 0.7533 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.698, allocations: 0 / 0.7533 GB, free: 6.191 MB / 0.6355 GB