Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.207/4.207, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.608e-05, allocations: 3.844 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 98.73 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.4571, allocations: 125 MB / 0.7523 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4574, allocations: 79.94 kB / 0.7524 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.4679, allocations: 2.366 MB / 0.7547 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4679, allocations: 4 kB / 0.7547 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.468, allocations: 0 / 0.7547 GB, free: 6.5 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005668/0.4685, allocations: 426.7 kB / 0.7551 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4686, allocations: 8.031 kB / 0.7551 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.4687, allocations: 46.55 kB / 0.7551 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4688, allocations: 15.84 kB / 0.7552 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4689, allocations: 171 kB / 0.7553 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.469, allocations: 4 kB / 0.7553 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.469, allocations: 8 kB / 0.7553 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.4694, allocations: 181.3 kB / 0.7555 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4694, allocations: 4 kB / 0.7555 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.4694, allocations: 3.984 kB / 0.7555 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4694, allocations: 0 / 0.7555 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.4696, allocations: 75.98 kB / 0.7556 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.4699, allocations: 221.3 kB / 0.7558 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.4701, allocations: 142.5 kB / 0.7559 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.4703, allocations: 120.9 kB / 0.756 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.4704, allocations: 0 / 0.756 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.4707, allocations: 196.3 kB / 0.7562 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/0.4708, allocations: 0 / 0.7562 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0009024/0.4717, allocations: 448.2 kB / 0.7567 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.4718, allocations: 103.2 kB / 0.7568 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.4719, allocations: 108.9 kB / 0.7569 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/0.472, allocations: 61.69 kB / 0.7569 GB, free: 4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.472, allocations: 84.91 kB / 0.757 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4722, allocations: 91.05 kB / 0.7571 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.4722, allocations: 11.94 kB / 0.7571 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4724, allocations: 342.7 kB / 0.7574 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.4727, allocations: 161.1 kB / 0.7576 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.4732, allocations: 238.4 kB / 0.7578 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.4736, allocations: 206.9 kB / 0.758 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4736, allocations: 0 / 0.758 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009719/0.4746, allocations: 484.8 kB / 0.7585 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.4746, allocations: 8 kB / 0.7585 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4747, allocations: 4.125 kB / 0.7585 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4747, allocations: 4.047 kB / 0.7585 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4748, allocations: 23.91 kB / 0.7585 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4749, allocations: 0 / 0.7585 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.475, allocations: 47.52 kB / 0.7586 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4751, allocations: 8 kB / 0.7586 GB, free: 2.281 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0002536/0.4753, allocations: 178 kB / 0.7587 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.4754, allocations: 7.906 kB / 0.7587 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.4754, allocations: 13.33 kB / 0.7588 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4754, allocations: 0 / 0.7588 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4755, allocations: 4 kB / 0.7588 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4755, allocations: 0 / 0.7588 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.4757, allocations: 209.3 kB / 0.759 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4757, allocations: 0 / 0.759 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-06/0.4758, allocations: 4 kB / 0.759 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4758, allocations: 0 / 0.759 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4758, allocations: 7.984 kB / 0.759 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4758, allocations: 0 / 0.759 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4758, allocations: 0 / 0.759 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.4767, allocations: 484.8 kB / 0.7594 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.4768, allocations: 96.84 kB / 0.7595 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4769, allocations: 39.97 kB / 0.7596 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.477, allocations: 3.938 kB / 0.7596 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.477, allocations: 8.109 kB / 0.7596 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.4771, allocations: 12 kB / 0.7596 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.4771, allocations: 83.27 kB / 0.7597 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4772, allocations: 0 / 0.7597 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004542/0.4776, allocations: 55.94 kB / 0.7597 GB, free: 1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 35 (occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33],occ.occ,occ.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001691/0.4793, allocations: 1.133 MB / 0.7608 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007302/0.4801, allocations: 352.7 kB / 0.7612 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4801, allocations: 8.062 kB / 0.7612 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.4803, allocations: 120 kB / 0.7613 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.4805, allocations: 10.06 kB / 0.7613 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.4813, allocations: 301 kB / 0.7616 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.4817, allocations: 0.7245 MB / 0.7623 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.362e-05/0.4818, allocations: 21.2 kB / 0.7623 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.4819, allocations: 35.42 kB / 0.7623 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.4819, allocations: 0 / 0.7623 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09569/0.5776, allocations: 3.477 MB / 0.7657 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.578, allocations: 206.9 kB / 0.7659 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.116, allocations: 4 kB / 0.7659 GB, free: 10.62 MB / 0.6511 GB