Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.72/4.72, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.063e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9408/1.174, allocations: 133.8 MB / 0.8085 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.175, allocations: 81 kB / 0.8086 GB, free: 12.21 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01295/1.188, allocations: 2.977 MB / 0.8115 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.188, allocations: 0 / 0.8115 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.188, allocations: 4 kB / 0.8115 GB, free: 11.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005645/1.188, allocations: 418 kB / 0.8119 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.188, allocations: 11.66 kB / 0.8119 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/1.188, allocations: 38.06 kB / 0.8119 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/1.188, allocations: 7.812 kB / 0.8119 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/1.188, allocations: 170.8 kB / 0.8121 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/1.188, allocations: 3.844 kB / 0.8121 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/1.189, allocations: 11.66 kB / 0.8121 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/1.189, allocations: 59.92 kB / 0.8122 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.189, allocations: 0 / 0.8122 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.189, allocations: 0 / 0.8122 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.189, allocations: 0 / 0.8122 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/1.189, allocations: 32.28 kB / 0.8122 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/1.19, allocations: 313.5 kB / 0.8125 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/1.19, allocations: 43.86 kB / 0.8125 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/1.19, allocations: 25.56 kB / 0.8126 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/1.19, allocations: 3.828 kB / 0.8126 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/1.19, allocations: 71.25 kB / 0.8126 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/1.19, allocations: 0 / 0.8126 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003018/1.19, allocations: 101.7 kB / 0.8127 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/1.19, allocations: 51.41 kB / 0.8128 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/1.19, allocations: 117.3 kB / 0.8129 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/1.191, allocations: 28.95 kB / 0.8129 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/1.191, allocations: 88.17 kB / 0.813 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/1.191, allocations: 21.42 kB / 0.813 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/1.191, allocations: 0 / 0.813 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/1.191, allocations: 320.9 kB / 0.8133 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/1.191, allocations: 27.16 kB / 0.8134 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/1.191, allocations: 38.89 kB / 0.8134 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/1.191, allocations: 24.61 kB / 0.8134 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.191, allocations: 0 / 0.8134 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002575/1.191, allocations: 94.36 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.191, allocations: 7.75 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.191, allocations: 4.062 kB / 0.8135 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.191, allocations: 0 / 0.8135 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/1.191, allocations: 17.72 kB / 0.8135 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.192, allocations: 0 / 0.8135 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/1.192, allocations: 14.62 kB / 0.8135 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.192, allocations: 7.891 kB / 0.8136 GB, free: 9.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.946e-05/1.192, allocations: 104.9 kB / 0.8137 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/1.192, allocations: 7.812 kB / 0.8137 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/1.192, allocations: 13.48 kB / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.192, allocations: 0 / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.192, allocations: 0 / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.192, allocations: 0 / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/1.192, allocations: 372.3 kB / 0.814 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.192, allocations: 0 / 0.814 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/1.192, allocations: 7.656 kB / 0.814 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.192, allocations: 0 / 0.814 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.192, allocations: 6.812 kB / 0.814 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.192, allocations: 3.875 kB / 0.814 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.192, allocations: 0 / 0.814 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/1.193, allocations: 202 kB / 0.8142 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/1.193, allocations: 84.02 kB / 0.8143 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/1.193, allocations: 3.844 kB / 0.8143 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.193, allocations: 3.844 kB / 0.8143 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/1.193, allocations: 10.7 kB / 0.8143 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.193, allocations: 6.422 kB / 0.8143 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.165e-05/1.193, allocations: 105.9 kB / 0.8144 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/1.193, allocations: 0 / 0.8144 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004495/1.194, allocations: 48.66 kB / 0.8145 GB, free: 9.199 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001237/1.195, allocations: 0.8002 MB / 0.8153 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002392/1.195, allocations: 58.34 kB / 0.8153 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.195, allocations: 0 / 0.8153 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/1.195, allocations: 25.31 kB / 0.8154 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/1.195, allocations: 11.17 kB / 0.8154 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/1.196, allocations: 155.4 kB / 0.8155 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.196, allocations: 0.6893 MB / 0.8162 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.713e-05/1.196, allocations: 4.062 kB / 0.8162 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/1.197, allocations: 24.2 kB / 0.8162 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.197, allocations: 0 / 0.8162 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/1.224, allocations: 2.515 MB / 0.8187 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.224, allocations: 219.5 kB / 0.8189 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.627, allocations: 0 / 0.8189 GB, free: 23.12 MB / 0.6511 GB