Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.303/4.303, allocations: 464.6 MB / 476.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.434e-05, allocations: 4 kB / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 107.1 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8721/1.116, allocations: 136.6 MB / 0.8113 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.116, allocations: 85.64 kB / 0.8113 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03407/1.15, allocations: 9.319 MB / 0.8204 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.15, allocations: 4 kB / 0.8205 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.118e-05/1.15, allocations: 15.53 kB / 0.8205 GB, free: 11.26 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00182/1.152, allocations: 0.8042 MB / 0.8213 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.152, allocations: 15.41 kB / 0.8213 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/1.152, allocations: 89.92 kB / 0.8214 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/1.153, allocations: 76.44 kB / 0.8214 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/1.153, allocations: 438.9 kB / 0.8218 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/1.154, allocations: 46.69 kB / 0.8219 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.154, allocations: 57.2 kB / 0.8219 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.155, allocations: 0.513 MB / 0.8224 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.155, allocations: 0 / 0.8224 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/1.155, allocations: 29.72 kB / 0.8225 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/1.155, allocations: 11.56 kB / 0.8225 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009437/1.156, allocations: 370.3 kB / 0.8228 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/1.16, allocations: 1.822 MB / 0.8246 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.161, allocations: 384.8 kB / 0.825 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/1.161, allocations: 185.1 kB / 0.8252 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/1.161, allocations: 7.812 kB / 0.8252 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/1.162, allocations: 233.4 kB / 0.8254 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/1.162, allocations: 0 / 0.8254 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.000953/1.163, allocations: 349.3 kB / 0.8257 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/1.163, allocations: 166 kB / 0.8259 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/1.164, allocations: 480.7 kB / 0.8263 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/1.164, allocations: 37.17 kB / 0.8264 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.164, allocations: 301.9 kB / 0.8267 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.164, allocations: 124.1 kB / 0.8268 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/1.164, allocations: 7.75 kB / 0.8268 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.164, allocations: 365.4 kB / 0.8271 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/1.165, allocations: 120 kB / 0.8273 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.165, allocations: 196.8 kB / 0.8274 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/1.166, allocations: 138 kB / 0.8276 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.166, allocations: 3.719 kB / 0.8276 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009182/1.166, allocations: 383 kB / 0.8279 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.167, allocations: 363.1 kB / 0.8283 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.167, allocations: 0 / 0.8283 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/1.167, allocations: 3.812 kB / 0.8283 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/1.167, allocations: 92.19 kB / 0.8284 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.167, allocations: 4.094 kB / 0.8284 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/1.168, allocations: 93.52 kB / 0.8285 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/1.168, allocations: 11.38 kB / 0.8285 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.168, allocations: 3.906 kB / 0.8285 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007173/1.169, allocations: 306.7 kB / 0.8288 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.169, allocations: 3.812 kB / 0.8288 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/1.169, allocations: 3.953 kB / 0.8288 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/1.17, allocations: 81.14 kB / 0.8289 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.17, allocations: 0 / 0.8289 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.17, allocations: 74.25 kB / 0.8289 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/1.17, allocations: 7.844 kB / 0.8289 GB, free: 7.219 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001732/1.17, allocations: 137.1 kB / 0.8291 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.171, allocations: 58.31 kB / 0.8291 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009681/1.172, allocations: 385.9 kB / 0.8295 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.172, allocations: 11.8 kB / 0.8295 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.172, allocations: 0 / 0.8295 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.172, allocations: 0 / 0.8295 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/1.173, allocations: 1.117 MB / 0.8306 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.174, allocations: 7.797 kB / 0.8306 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/1.174, allocations: 92.73 kB / 0.8307 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.174, allocations: 7.906 kB / 0.8307 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/1.174, allocations: 7.062 kB / 0.8307 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/1.174, allocations: 0 / 0.8307 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.174, allocations: 7.75 kB / 0.8307 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.176, allocations: 0.6863 MB / 0.8314 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.176, allocations: 140.6 kB / 0.8315 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.176, allocations: 14.66 kB / 0.8315 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/1.177, allocations: 53.36 kB / 0.8316 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.177, allocations: 30.33 kB / 0.8316 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/1.177, allocations: 15.08 kB / 0.8316 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000859/1.178, allocations: 376.6 kB / 0.832 GB, free: 21.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.382e-06/1.178, allocations: 4 kB / 0.832 GB, free: 21.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008574/1.179, allocations: 185.6 kB / 0.8322 GB, free: 21.76 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.001755/1.18, allocations: 1.445 MB / 0.8336 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.182, allocations: 492 kB / 0.834 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.182, allocations: 0 / 0.834 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/1.182, allocations: 172.5 kB / 0.8342 GB, free: 20.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/1.183, allocations: 98.67 kB / 0.8343 GB, free: 20.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/1.185, allocations: 0.7903 MB / 0.8351 GB, free: 20.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/1.186, allocations: 0.8829 MB / 0.8359 GB, free: 19.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006867/1.186, allocations: 92.42 kB / 0.836 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/1.187, allocations: 206.8 kB / 0.8362 GB, free: 19.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.187, allocations: 4 kB / 0.8362 GB, free: 19.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/1.237, allocations: 10.87 MB / 0.8468 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/1.238, allocations: 166.5 kB / 0.847 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/4.084, allocations: 0 / 0.847 GB, free: 13.01 MB / 0.6511 GB