Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.59/4.59, allocations: 464.6 MB / 476.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.707e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9056/1.159, allocations: 133.8 MB / 0.8085 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.16, allocations: 79.84 kB / 0.8086 GB, free: 12.06 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.01335/1.173, allocations: 2.982 MB / 0.8115 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/1.173, allocations: 3.938 kB / 0.8115 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.173, allocations: 3.688 kB / 0.8115 GB, free: 11.6 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.0006091/1.174, allocations: 412.1 kB / 0.8119 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.174, allocations: 11.66 kB / 0.8119 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/1.174, allocations: 37.08 kB / 0.8119 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/1.174, allocations: 7.875 kB / 0.8119 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/1.174, allocations: 170.8 kB / 0.8121 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/1.174, allocations: 3.188 kB / 0.8121 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/1.174, allocations: 7.906 kB / 0.8121 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/1.174, allocations: 69.48 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.174, allocations: 4 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.174, allocations: 0 / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.174, allocations: 3.656 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/1.174, allocations: 22.06 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/1.175, allocations: 310.4 kB / 0.8125 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/1.175, allocations: 43.89 kB / 0.8125 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/1.175, allocations: 30.47 kB / 0.8126 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/1.175, allocations: 3.906 kB / 0.8126 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/1.176, allocations: 65.64 kB / 0.8126 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.375e-06/1.176, allocations: 0 / 0.8126 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003105/1.176, allocations: 100.3 kB / 0.8127 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.176, allocations: 55.41 kB / 0.8128 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/1.176, allocations: 116.5 kB / 0.8129 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/1.176, allocations: 29.64 kB / 0.8129 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/1.176, allocations: 86.86 kB / 0.813 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/1.176, allocations: 21.88 kB / 0.813 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/1.176, allocations: 0 / 0.813 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/1.176, allocations: 320.8 kB / 0.8133 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/1.176, allocations: 19.03 kB / 0.8133 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/1.176, allocations: 47.84 kB / 0.8134 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/1.177, allocations: 25.17 kB / 0.8134 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.177, allocations: 0 / 0.8134 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002212/1.177, allocations: 96.39 kB / 0.8135 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.177, allocations: 3.844 kB / 0.8135 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.177, allocations: 6.859 kB / 0.8135 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.177, allocations: 3.984 kB / 0.8135 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.177, allocations: 14.58 kB / 0.8135 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.177, allocations: 3.844 kB / 0.8135 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.177, allocations: 10.12 kB / 0.8135 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/1.177, allocations: 7.797 kB / 0.8136 GB, free: 9.82 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.901e-05/1.177, allocations: 118 kB / 0.8137 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/1.177, allocations: 3.844 kB / 0.8137 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/1.177, allocations: 9.875 kB / 0.8137 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.177, allocations: 4 kB / 0.8137 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.177, allocations: 0 / 0.8137 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/1.177, allocations: 6.797 kB / 0.8137 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/1.178, allocations: 366.3 kB / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.178, allocations: 0 / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/1.178, allocations: 6.578 kB / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.178, allocations: 3.906 kB / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/1.178, allocations: 0 / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.178, allocations: 3.938 kB / 0.8141 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.178, allocations: 4 kB / 0.8141 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/1.178, allocations: 194 kB / 0.8142 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/1.178, allocations: 84.92 kB / 0.8143 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/1.178, allocations: 3.047 kB / 0.8143 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.179, allocations: 3.812 kB / 0.8143 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/1.179, allocations: 6.844 kB / 0.8143 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.179, allocations: 3.938 kB / 0.8143 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.397e-05/1.179, allocations: 103.7 kB / 0.8144 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.179, allocations: 0 / 0.8144 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004469/1.179, allocations: 55.98 kB / 0.8145 GB, free: 9.055 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.001254/1.18, allocations: 0.7975 MB / 0.8153 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002258/1.181, allocations: 55.58 kB / 0.8153 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.181, allocations: 0 / 0.8153 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/1.181, allocations: 31.66 kB / 0.8154 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.181, allocations: 6.188 kB / 0.8154 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/1.182, allocations: 155.5 kB / 0.8155 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.182, allocations: 0.6894 MB / 0.8162 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.291e-05/1.182, allocations: 8.047 kB / 0.8162 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/1.182, allocations: 21.84 kB / 0.8162 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/1.182, allocations: 0 / 0.8162 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/1.208, allocations: 2.516 MB / 0.8187 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/1.208, allocations: 214.4 kB / 0.8189 GB, free: 22.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.61, allocations: 4 kB / 0.8189 GB, free: 22.96 MB / 0.6511 GB