Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.539/4.539, allocations: 460.5 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.954e-05/4.971e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2826, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.189, allocations: 131.9 MB / 0.8007 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.189, allocations: 77.08 kB / 0.8008 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009298/1.198, allocations: 2.376 MB / 0.8031 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.198, allocations: 0 / 0.8031 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.449e-05/1.198, allocations: 3.969 kB / 0.8031 GB, free: 12.23 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.0004923/1.199, allocations: 424.8 kB / 0.8035 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.199, allocations: 10.83 kB / 0.8036 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/1.199, allocations: 44.94 kB / 0.8036 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.199, allocations: 15.64 kB / 0.8036 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.186e-05/1.199, allocations: 177.5 kB / 0.8038 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/1.199, allocations: 7.375 kB / 0.8038 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/1.199, allocations: 3.875 kB / 0.8038 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/1.2, allocations: 174.2 kB / 0.804 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.2, allocations: 7.812 kB / 0.804 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/1.2, allocations: 3.875 kB / 0.804 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.2, allocations: 0 / 0.804 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/1.2, allocations: 80.81 kB / 0.804 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/1.2, allocations: 223.7 kB / 0.8043 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/1.2, allocations: 143.9 kB / 0.8044 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/1.2, allocations: 115.4 kB / 0.8045 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/1.2, allocations: 0 / 0.8045 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/1.201, allocations: 196 kB / 0.8047 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/1.201, allocations: 0 / 0.8047 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0007384/1.201, allocations: 449.8 kB / 0.8051 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.202, allocations: 92.03 kB / 0.8052 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/1.202, allocations: 120.2 kB / 0.8053 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/1.202, allocations: 54.7 kB / 0.8054 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/1.202, allocations: 84.05 kB / 0.8055 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/1.202, allocations: 97.03 kB / 0.8055 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/1.202, allocations: 11.31 kB / 0.8056 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/1.202, allocations: 341.9 kB / 0.8059 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.202, allocations: 163.3 kB / 0.806 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/1.203, allocations: 235.8 kB / 0.8063 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/1.203, allocations: 202.2 kB / 0.8065 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.203, allocations: 0 / 0.8065 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008437/1.204, allocations: 497 kB / 0.8069 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.204, allocations: 7.656 kB / 0.8069 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.204, allocations: 0 / 0.8069 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.204, allocations: 3.812 kB / 0.8069 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/1.204, allocations: 18.66 kB / 0.807 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.204, allocations: 7.906 kB / 0.807 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/1.204, allocations: 33.59 kB / 0.807 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.204, allocations: 15.41 kB / 0.807 GB, free: 10.39 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.0002158/1.205, allocations: 174.3 kB / 0.8072 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/1.205, allocations: 11.31 kB / 0.8072 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/1.205, allocations: 9.969 kB / 0.8072 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.205, allocations: 0 / 0.8072 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.205, allocations: 0 / 0.8072 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.205, allocations: 0 / 0.8072 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/1.205, allocations: 218.9 kB / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.205, allocations: 4.062 kB / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-06/1.205, allocations: 3.281 kB / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.205, allocations: 0 / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.205, allocations: 3.969 kB / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.205, allocations: 0 / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.205, allocations: 7.453 kB / 0.8074 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/1.206, allocations: 483.6 kB / 0.8079 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/1.206, allocations: 92.73 kB / 0.808 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/1.206, allocations: 41.5 kB / 0.808 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/1.206, allocations: 2.766 kB / 0.808 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/1.206, allocations: 7.594 kB / 0.808 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/1.206, allocations: 14.78 kB / 0.808 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.464e-05/1.206, allocations: 82.59 kB / 0.8081 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.206, allocations: 4 kB / 0.8081 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004643/1.206, allocations: 56.59 kB / 0.8082 GB, free: 9.758 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.001698/1.208, allocations: 1.128 MB / 0.8093 GB, free: 25.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005957/1.209, allocations: 353.9 kB / 0.8096 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.209, allocations: 0 / 0.8096 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.209, allocations: 126.1 kB / 0.8097 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/1.209, allocations: 11.62 kB / 0.8097 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/1.21, allocations: 297.1 kB / 0.81 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/1.21, allocations: 0.7264 MB / 0.8107 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.172e-05/1.21, allocations: 15.73 kB / 0.8108 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/1.21, allocations: 35.56 kB / 0.8108 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of SimCode: time 9.71e-07/1.211, allocations: 0 / 0.8108 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/1.237, allocations: 3.482 MB / 0.8142 GB, free: 23.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/1.238, allocations: 204.4 kB / 0.8144 GB, free: 23.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.612, allocations: 0 / 0.8144 GB, free: 23.65 MB / 0.6511 GB