Running command: "" <> buildModelFMU(Buildings.Examples.VAVCO2.VAVSystemCTControl,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVCO2_VAVSystemCTControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.453/4.453, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.404e-05, allocations: 4 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2992, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.314/7.613, allocations: 2.256 GB / 2.934 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/7.613, allocations: 82.77 kB / 2.934 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 65.75/73.36, allocations: 10.69 GB / 13.62 GB, free: 71.79 MB / 1.432 GB Notification: Performance of FrontEnd: time 1.903e-06/73.36, allocations: 0 / 13.62 GB, free: 71.79 MB / 1.432 GB Notification: Performance of Transformations before backend: time 0.003789/73.37, allocations: 489.9 kB / 13.62 GB, free: 71.71 MB / 1.432 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3120 * Number of variables: 3120 Notification: Performance of Generate backend data structure: time 0.07816/73.44, allocations: 17.32 MB / 13.64 GB, free: 63.85 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/73.44, allocations: 11.44 kB / 13.64 GB, free: 63.85 MB / 1.432 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009095/73.45, allocations: 1.587 MB / 13.64 GB, free: 63.74 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04344/73.5, allocations: 4.126 MB / 13.65 GB, free: 62.66 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08206/73.58, allocations: 19.72 MB / 13.67 GB, free: 60.1 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001736/73.58, allocations: 0.9739 MB / 13.67 GB, free: 60.07 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008169/73.59, allocations: 1.32 MB / 13.67 GB, free: 60.06 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06538/73.65, allocations: 16.92 MB / 13.69 GB, free: 58.96 MB / 1.432 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007884/73.65, allocations: 12.97 kB / 13.69 GB, free: 58.96 MB / 1.432 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006373/73.66, allocations: 0.5037 MB / 13.69 GB, free: 58.96 MB / 1.432 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005436/73.66, allocations: 449.2 kB / 13.69 GB, free: 58.93 MB / 1.432 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05225/73.71, allocations: 15.37 MB / 13.7 GB, free: 58.88 MB / 1.432 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1864/73.9, allocations: 82.54 MB / 13.78 GB, free: 14.66 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02643/73.93, allocations: 9.744 MB / 13.79 GB, free: 10.41 MB / 1.432 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01726/73.94, allocations: 6.663 MB / 13.8 GB, free: 7.43 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/73.95, allocations: 357.2 kB / 13.8 GB, free: 7.305 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02032/73.97, allocations: 6.814 MB / 13.81 GB, free: 4.57 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03481/74, allocations: 4.502 MB / 13.81 GB, free: 3.918 MB / 1.432 GB Notification: Performance of pre-optimization done (n=893): time 4.618e-05/74, allocations: 0 / 13.81 GB, free: 3.918 MB / 1.432 GB Notification: Performance of matching and sorting (n=893): time 0.05088/74.05, allocations: 12.72 MB / 13.82 GB, free: 15.64 MB / 1.448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000583/74.05, allocations: 0.985 MB / 13.82 GB, free: 14.53 MB / 1.448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03639/74.09, allocations: 11.41 MB / 13.83 GB, free: 10.23 MB / 1.448 GB Notification: Performance of collectPreVariables (initialization): time 0.003697/74.09, allocations: 253.7 kB / 13.83 GB, free: 10.06 MB / 1.448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01454/74.11, allocations: 8.022 MB / 13.84 GB, free: 3.777 MB / 1.448 GB Notification: Performance of collectInitialBindings (initialization): time 0.006936/74.11, allocations: 3.078 MB / 13.85 GB, free: 1.379 MB / 1.448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002176/74.12, allocations: 180.8 kB / 13.85 GB, free: 1.238 MB / 1.448 GB Notification: Performance of setup shared object (initialization): time 0.001037/74.12, allocations: 0.6561 MB / 13.85 GB, free: 0.7695 MB / 1.448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02677/74.14, allocations: 5.439 MB / 13.85 GB, free: 0 / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02066/74.16, allocations: 7.78 MB / 13.86 GB, free: 7.449 MB / 1.464 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01969/74.18, allocations: 5.999 MB / 13.86 GB, free: 2.078 MB / 1.464 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.195e-05/74.18, allocations: 8 kB / 13.86 GB, free: 2.07 MB / 1.464 GB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.06292/74.25, allocations: 14.75 MB / 13.88 GB, free: 6.172 MB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 1.425/75.67, allocations: 22.61 MB / 13.9 GB, free: 162.4 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/75.67, allocations: 44.52 kB / 13.9 GB, free: 162.4 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005158/75.68, allocations: 1.386 MB / 13.9 GB, free: 162.4 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0225/75.7, allocations: 2.103 MB / 13.9 GB, free: 162.4 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009383/75.71, allocations: 7.93 MB / 13.91 GB, free: 156.2 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02998/75.74, allocations: 1.426 MB / 13.91 GB, free: 156.2 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003839/75.74, allocations: 495.5 kB / 13.91 GB, free: 156.2 MB / 1.495 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/75.74, allocations: 4.5 kB / 13.91 GB, free: 156.2 MB / 1.495 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04482/75.79, allocations: 12.94 MB / 13.93 GB, free: 155.8 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/75.79, allocations: 44.77 kB / 13.93 GB, free: 155.8 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/75.79, allocations: 1.132 MB / 13.93 GB, free: 155.8 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01955/75.81, allocations: 2.034 MB / 13.93 GB, free: 155.8 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/75.83, allocations: 11.7 MB / 13.94 GB, free: 151.2 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0288/75.86, allocations: 1.411 MB / 13.94 GB, free: 151.2 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003312/75.87, allocations: 473.2 kB / 13.94 GB, free: 151.2 MB / 1.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition7,$PRE.roo.occ.office1.nextTimeEvent,$whenCondition6,$PRE.roo.occ.office2.nextTimeEvent,$whenCondition5,$PRE.roo.occ.cla1.nextTimeEvent,$whenCondition4,$PRE.roo.occ.cla2.nextTimeEvent,$whenCondition3,$PRE.roo.occ.smaRoo1.nextTimeEvent,$whenCondition2,$PRE.roo.occ.smaRoo2.nextTimeEvent,$whenCondition1,roo.occ.office1.nextTimeEvent,$PRE.roo.occ.office1.nextTimeEventScaled,roo.occ.office1.nextTimeEventScaled,roo.occ.office2.nextTimeEvent,$PRE.roo.occ.office2.nextTimeEventScaled,roo.occ.office2.nextTimeEventScaled,roo.occ.cla1.nextTimeEvent,$PRE.roo.occ.cla1.nextTimeEventScaled,roo.occ.cla1.nextTimeEventScaled,roo.occ.cla2.nextTimeEvent,$PRE.roo.occ.cla2.nextTimeEventScaled,roo.occ.cla2.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEvent,$PRE.roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEvent,$PRE.roo.occ.smaRoo2.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEventScaled,$PRE.onSig.pulseStart,onSig.pulseStart,booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1009 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 10,15 45,9 26} Notification: Performance of prepare postOptimizeDAE: time 0.004992/75.87, allocations: 0.6735 MB / 13.94 GB, free: 151.1 MB / 1.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006114/75.88, allocations: 1.469 MB / 13.95 GB, free: 151.1 MB / 1.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04711/75.92, allocations: 13.56 MB / 13.96 GB, free: 150.6 MB / 1.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.224e-05/75.92, allocations: 90.62 kB / 13.96 GB, free: 150.6 MB / 1.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/75.92, allocations: 0 / 13.96 GB, free: 150.6 MB / 1.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03221/75.96, allocations: 10.75 MB / 13.97 GB, free: 150.1 MB / 1.495 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09872/76.06, allocations: 31.65 MB / 14 GB, free: 148.7 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001156/76.06, allocations: 1.75 kB / 14 GB, free: 148.7 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02053/76.08, allocations: 1.922 MB / 14 GB, free: 148.7 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/76.08, allocations: 0.9362 MB / 14 GB, free: 148.7 MB / 1.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002419/76.08, allocations: 266 kB / 14 GB, free: 148.7 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006098/76.09, allocations: 7.572 MB / 14.01 GB, free: 142.4 MB / 1.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/76.09, allocations: 6.078 kB / 14.01 GB, free: 142.4 MB / 1.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05368/76.14, allocations: 19.81 MB / 14.03 GB, free: 141 MB / 1.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01435/76.16, allocations: 3.198 MB / 14.03 GB, free: 140.1 MB / 1.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006259/76.16, allocations: 219.8 kB / 14.03 GB, free: 140.1 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02502/76.19, allocations: 1.314 MB / 14.03 GB, free: 140 MB / 1.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002704/76.19, allocations: 0.537 MB / 14.03 GB, free: 140 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001335/76.19, allocations: 324.4 kB / 14.04 GB, free: 140 MB / 1.495 GB Notification: Performance of sorting global known variables: time 0.02616/76.22, allocations: 8.794 MB / 14.04 GB, free: 139.6 MB / 1.495 GB Notification: Performance of sort global known variables: time 1.012e-06/76.22, allocations: 1.562 kB / 14.04 GB, free: 139.6 MB / 1.495 GB Notification: Performance of remove unused functions: time 0.05351/76.27, allocations: 10.72 MB / 14.05 GB, free: 139 MB / 1.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 69 (roo.roo45.vav.filter.x[1],roo.roo45.vav.filter.x[2],roo.roo45.vol.dynBal.U,roo.roo45.vol.dynBal.m,roo.roo45.vol.dynBal.mXi[1],roo.roo45.vol.dynBal.mC[1],roo.roo45.ple.dynBal.U,roo.roo45.ple.dynBal.m,roo.roo45.ple.dynBal.mXi[1],roo.roo45.ple.dynBal.mC[1],roo.roo46.vav.filter.x[1],roo.roo46.vav.filter.x[2],roo.roo46.vol.dynBal.U,roo.roo46.vol.dynBal.m,roo.roo46.vol.dynBal.mXi[1],roo.roo46.vol.dynBal.mC[1],roo.roo46.ple.dynBal.U,roo.roo46.ple.dynBal.m,roo.roo46.ple.dynBal.mXi[1],roo.roo46.ple.dynBal.mC[1],roo.roo47.vav.filter.x[1],roo.roo47.vav.filter.x[2],roo.roo47.vol.dynBal.U,roo.roo47.vol.dynBal.m,roo.roo47.vol.dynBal.mXi[1],roo.roo47.vol.dynBal.mC[1],roo.roo47.ple.dynBal.U,roo.roo47.ple.dynBal.m,roo.roo47.ple.dynBal.mXi[1],roo.roo47.ple.dynBal.mC[1],roo.roo48.vav.filter.x[1],roo.roo48.vav.filter.x[2],roo.roo48.vol.dynBal.U,roo.roo48.vol.dynBal.m,roo.roo48.vol.dynBal.mXi[1],roo.roo48.vol.dynBal.mC[1],roo.roo48.ple.dynBal.U,roo.roo48.ple.dynBal.m,roo.roo48.ple.dynBal.mXi[1],roo.roo48.ple.dynBal.mC[1],roo.roo49.vav.filter.x[1],roo.roo49.vav.filter.x[2],roo.roo49.vol.dynBal.U,roo.roo49.vol.dynBal.m,roo.roo49.vol.dynBal.mXi[1],roo.roo49.vol.dynBal.mC[1],roo.roo49.ple.dynBal.U,roo.roo49.ple.dynBal.m,roo.roo49.ple.dynBal.mXi[1],roo.roo49.ple.dynBal.mC[1],roo.roo50.vav.filter.x[1],roo.roo50.vav.filter.x[2],roo.roo50.vol.dynBal.U,roo.roo50.vol.dynBal.m,roo.roo50.vol.dynBal.mXi[1],roo.roo50.vol.dynBal.mC[1],roo.roo50.ple.dynBal.U,roo.roo50.ple.dynBal.m,roo.roo50.ple.dynBal.mXi[1],roo.roo50.ple.dynBal.mC[1],fan32.vol.dynBal.U,fan32.vol.dynBal.m,fan32.vol.dynBal.mXi[1],fan32.vol.dynBal.mC[1],fan56.vol.dynBal.U,fan56.vol.dynBal.m,fan56.vol.dynBal.mXi[1],fan56.vol.dynBal.mC[1],ramLim.y) * Number of discrete variables: 21 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,roo.occ.office1.nextTimeEvent,roo.occ.office1.nextTimeEventScaled,roo.occ.office2.nextTimeEvent,roo.occ.office2.nextTimeEventScaled,roo.occ.cla1.nextTimeEvent,roo.occ.cla1.nextTimeEventScaled,roo.occ.cla2.nextTimeEvent,roo.occ.cla2.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEvent,roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEvent,roo.occ.smaRoo2.nextTimeEventScaled,onSig.pulseStart,booToRea.u) * Number of discrete states: 12 (roo.occ.office1.nextTimeEvent,roo.occ.office2.nextTimeEvent,roo.occ.cla1.nextTimeEvent,roo.occ.cla2.nextTimeEvent,roo.occ.smaRoo1.nextTimeEvent,roo.occ.smaRoo2.nextTimeEvent,roo.occ.smaRoo2.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.cla2.nextTimeEventScaled,roo.occ.cla1.nextTimeEventScaled,roo.occ.office2.nextTimeEventScaled,roo.occ.office1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (867): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 10,15 34,9 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.1583/76.43, allocations: 75.02 MB / 14.13 GB, free: 95.38 MB / 1.495 GB Notification: Performance of simCode: created initialization part: time 0.05617/76.49, allocations: 19.84 MB / 14.15 GB, free: 94.32 MB / 1.495 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/76.49, allocations: 9.062 kB / 14.15 GB, free: 94.32 MB / 1.495 GB Notification: Performance of simCode: created simulation system equations: time 0.01623/76.5, allocations: 5.771 MB / 14.15 GB, free: 94.27 MB / 1.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0594/76.56, allocations: 7.283 MB / 14.16 GB, free: 94.03 MB / 1.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1011/76.66, allocations: 33.06 MB / 14.19 GB, free: 87.74 MB / 1.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02043/76.68, allocations: 9.133 MB / 14.2 GB, free: 86.59 MB / 1.495 GB Notification: Performance of simCode: alias equations: time 0.04711/76.73, allocations: 6.036 MB / 14.21 GB, free: 86.28 MB / 1.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01898/76.75, allocations: 7.883 MB / 14.21 GB, free: 86.27 MB / 1.495 GB Notification: Performance of SimCode: time 1.623e-06/76.75, allocations: 0 / 14.21 GB, free: 86.27 MB / 1.495 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.942/79.69, allocations: 0.7771 GB / 14.99 GB, free: 12.85 MB / 1.589 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/79.69, allocations: 224.5 kB / 14.99 GB, free: 12.61 MB / 1.589 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.02/122.7, allocations: 0 / 14.99 GB, free: 12.61 MB / 1.589 GB