Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.708/4.708, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.937e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.203, allocations: 133.8 MB / 0.8085 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.204, allocations: 89.25 kB / 0.8086 GB, free: 12.18 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.0128/1.217, allocations: 2.983 MB / 0.8115 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/1.217, allocations: 0 / 0.8115 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.217, allocations: 0 / 0.8115 GB, free: 11.71 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.0006154/1.217, allocations: 413.8 kB / 0.8119 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.217, allocations: 11.47 kB / 0.8119 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/1.217, allocations: 34.06 kB / 0.8119 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/1.217, allocations: 10.19 kB / 0.8119 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/1.218, allocations: 170.8 kB / 0.8121 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.218, allocations: 7.219 kB / 0.8121 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/1.218, allocations: 3.844 kB / 0.8121 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/1.218, allocations: 65.06 kB / 0.8122 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.218, allocations: 4 kB / 0.8122 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.218, allocations: 0 / 0.8122 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/1.218, allocations: 4 kB / 0.8122 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/1.218, allocations: 25.38 kB / 0.8122 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/1.219, allocations: 314.4 kB / 0.8125 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.219, allocations: 39.02 kB / 0.8125 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/1.219, allocations: 34.89 kB / 0.8126 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/1.219, allocations: 0 / 0.8126 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/1.219, allocations: 72.28 kB / 0.8126 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.245e-06/1.219, allocations: 0 / 0.8126 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003048/1.219, allocations: 96.2 kB / 0.8127 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/1.219, allocations: 57.91 kB / 0.8128 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/1.22, allocations: 112.2 kB / 0.8129 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/1.22, allocations: 33.55 kB / 0.8129 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/1.22, allocations: 90.08 kB / 0.813 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/1.22, allocations: 19.16 kB / 0.813 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/1.22, allocations: 0 / 0.813 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/1.22, allocations: 321.6 kB / 0.8133 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/1.22, allocations: 21.72 kB / 0.8134 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/1.22, allocations: 42.66 kB / 0.8134 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.055e-05/1.22, allocations: 28.8 kB / 0.8134 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.22, allocations: 0 / 0.8134 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/1.22, allocations: 99.14 kB / 0.8135 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.22, allocations: 3.781 kB / 0.8135 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.22, allocations: 0 / 0.8135 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.22, allocations: 0 / 0.8135 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/1.221, allocations: 14.97 kB / 0.8135 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.221, allocations: 3.938 kB / 0.8135 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1.221, allocations: 18.97 kB / 0.8136 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/1.221, allocations: 6.719 kB / 0.8136 GB, free: 9.93 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 7.186e-05/1.221, allocations: 108.9 kB / 0.8137 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/1.221, allocations: 7.625 kB / 0.8137 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/1.221, allocations: 7.75 kB / 0.8137 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.221, allocations: 6.922 kB / 0.8137 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.221, allocations: 0 / 0.8137 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.221, allocations: 0 / 0.8137 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/1.221, allocations: 369.3 kB / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.221, allocations: 0 / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/1.221, allocations: 5.719 kB / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.221, allocations: 0 / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.222, allocations: 2.109 kB / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.222, allocations: 3.875 kB / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.222, allocations: 0 / 0.814 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/1.222, allocations: 205.2 kB / 0.8142 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/1.222, allocations: 81.02 kB / 0.8143 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/1.222, allocations: 3.375 kB / 0.8143 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.222, allocations: 6.875 kB / 0.8143 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/1.222, allocations: 9.125 kB / 0.8143 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.222, allocations: 0 / 0.8143 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.981e-05/1.222, allocations: 102.8 kB / 0.8144 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.222, allocations: 0 / 0.8144 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000441/1.223, allocations: 53.56 kB / 0.8145 GB, free: 9.164 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.001227/1.224, allocations: 0.8054 MB / 0.8153 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002203/1.224, allocations: 57.77 kB / 0.8153 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.224, allocations: 0 / 0.8153 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/1.224, allocations: 24.44 kB / 0.8154 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.224, allocations: 11.98 kB / 0.8154 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/1.225, allocations: 153.8 kB / 0.8155 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/1.225, allocations: 0.6887 MB / 0.8162 GB, free: 23.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.898e-05/1.225, allocations: 8 kB / 0.8162 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/1.226, allocations: 23.23 kB / 0.8162 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.226, allocations: 0 / 0.8162 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/1.252, allocations: 2.509 MB / 0.8187 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.252, allocations: 214.6 kB / 0.8189 GB, free: 23.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.676, allocations: 0 / 0.8189 GB, free: 23.08 MB / 0.6511 GB