Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.56/4.56, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.748e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.929/1.179, allocations: 133.8 MB / 0.8085 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.18, allocations: 91.14 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.01352/1.193, allocations: 2.971 MB / 0.8115 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.193, allocations: 0 / 0.8115 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.193, allocations: 3.812 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.0006105/1.194, allocations: 412.1 kB / 0.8119 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.194, allocations: 7.812 kB / 0.8119 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/1.194, allocations: 34.44 kB / 0.8119 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/1.194, allocations: 10.88 kB / 0.8119 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.194, allocations: 178.1 kB / 0.8121 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.194, allocations: 4 kB / 0.8121 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/1.194, allocations: 7.734 kB / 0.8121 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.194, allocations: 66.22 kB / 0.8122 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.194, allocations: 0 / 0.8122 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.194, allocations: 0 / 0.8122 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.194, allocations: 6.562 kB / 0.8122 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/1.195, allocations: 21.97 kB / 0.8122 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/1.195, allocations: 313.3 kB / 0.8125 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.195, allocations: 47.42 kB / 0.8125 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/1.196, allocations: 23.33 kB / 0.8126 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/1.196, allocations: 0 / 0.8126 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/1.196, allocations: 74.89 kB / 0.8126 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.196, allocations: 0 / 0.8126 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003015/1.196, allocations: 103.2 kB / 0.8127 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.196, allocations: 54.55 kB / 0.8128 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/1.196, allocations: 114.8 kB / 0.8129 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/1.196, allocations: 29.27 kB / 0.8129 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/1.196, allocations: 87.39 kB / 0.813 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.196, allocations: 20.73 kB / 0.813 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/1.196, allocations: 2.938 kB / 0.813 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.115e-05/1.196, allocations: 322 kB / 0.8133 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/1.196, allocations: 27.91 kB / 0.8134 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/1.197, allocations: 35.42 kB / 0.8134 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/1.197, allocations: 24.42 kB / 0.8134 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.197, allocations: 0 / 0.8134 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002247/1.197, allocations: 101.9 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.197, allocations: 3.875 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.197, allocations: 3.844 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.197, allocations: 0 / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/1.197, allocations: 13.22 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.197, allocations: 3.812 kB / 0.8135 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/1.197, allocations: 14.2 kB / 0.8135 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.197, allocations: 7.797 kB / 0.8136 GB, free: 9.977 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 8.032e-05/1.197, allocations: 116.4 kB / 0.8137 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/1.197, allocations: 3.812 kB / 0.8137 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/1.198, allocations: 11.41 kB / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.198, allocations: 0 / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.198, allocations: 0 / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.198, allocations: 0 / 0.8137 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/1.198, allocations: 367.6 kB / 0.814 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.198, allocations: 0 / 0.814 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/1.198, allocations: 11.78 kB / 0.814 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.198, allocations: 3.875 kB / 0.814 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.198, allocations: 6.156 kB / 0.8141 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.198, allocations: 0 / 0.8141 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.198, allocations: 0 / 0.8141 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/1.198, allocations: 190.8 kB / 0.8142 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/1.198, allocations: 84.8 kB / 0.8143 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/1.199, allocations: 2.812 kB / 0.8143 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.199, allocations: 7.875 kB / 0.8143 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/1.199, allocations: 6.469 kB / 0.8143 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/1.199, allocations: 6.484 kB / 0.8143 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.08e-05/1.199, allocations: 98.56 kB / 0.8144 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.199, allocations: 0 / 0.8144 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004474/1.199, allocations: 52.69 kB / 0.8145 GB, free: 9.215 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.001324/1.201, allocations: 0.8103 MB / 0.8153 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002403/1.201, allocations: 55.48 kB / 0.8153 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.201, allocations: 0 / 0.8153 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/1.201, allocations: 32.7 kB / 0.8154 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/1.201, allocations: 6.438 kB / 0.8154 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/1.202, allocations: 150.9 kB / 0.8155 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/1.202, allocations: 0.6964 MB / 0.8162 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.259e-05/1.202, allocations: 10.59 kB / 0.8162 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/1.202, allocations: 17.55 kB / 0.8162 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.031e-06/1.202, allocations: 0 / 0.8162 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/1.227, allocations: 2.512 MB / 0.8187 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.228, allocations: 216.2 kB / 0.8189 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.734, allocations: 0 / 0.8189 GB, free: 23.12 MB / 0.6511 GB