Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.331/4.331, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.118e-05/5.125e-05, allocations: 4.734 kB / 0.5338 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2415, allocations: 98.72 MB / 0.6302 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2802/0.5217, allocations: 126.4 MB / 0.7536 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/0.5221, allocations: 83.94 kB / 0.7537 GB, free: 7.465 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.0144/0.5366, allocations: 2.916 MB / 0.7566 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5366, allocations: 0 / 0.7566 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.5366, allocations: 0 / 0.7566 GB, free: 4.543 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.0007607/0.5374, allocations: 416 kB / 0.757 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.5375, allocations: 12.03 kB / 0.757 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.5375, allocations: 34.56 kB / 0.757 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.5376, allocations: 11.86 kB / 0.757 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.5378, allocations: 178.9 kB / 0.7572 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.5378, allocations: 0 / 0.7572 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.5378, allocations: 12 kB / 0.7572 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.538, allocations: 61.66 kB / 0.7573 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5381, allocations: 3.938 kB / 0.7573 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5381, allocations: 0 / 0.7573 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5381, allocations: 4 kB / 0.7573 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.5382, allocations: 20 kB / 0.7573 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008769/0.5391, allocations: 320.7 kB / 0.7576 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.5392, allocations: 34.58 kB / 0.7576 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.545e-05/0.5393, allocations: 28.97 kB / 0.7577 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.5394, allocations: 7.984 kB / 0.7577 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.5396, allocations: 79.27 kB / 0.7577 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.5396, allocations: 0 / 0.7577 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003466/0.5399, allocations: 101.6 kB / 0.7578 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.54, allocations: 55.41 kB / 0.7579 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5401, allocations: 109 kB / 0.758 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.5402, allocations: 33.7 kB / 0.758 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.5403, allocations: 84.33 kB / 0.7581 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.5403, allocations: 19.8 kB / 0.7581 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.5403, allocations: 0 / 0.7581 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5405, allocations: 322.8 kB / 0.7584 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.5405, allocations: 16 kB / 0.7585 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.5406, allocations: 38.56 kB / 0.7585 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.322e-05/0.5408, allocations: 31.98 kB / 0.7585 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5408, allocations: 3.938 kB / 0.7585 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002555/0.541, allocations: 97.58 kB / 0.7586 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5411, allocations: 11.94 kB / 0.7586 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5411, allocations: 0 / 0.7586 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5411, allocations: 3.984 kB / 0.7586 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.5413, allocations: 15.95 kB / 0.7586 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5413, allocations: 0 / 0.7586 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.5414, allocations: 11.98 kB / 0.7587 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.5415, allocations: 4 kB / 0.7587 GB, free: 2.16 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 0.000104/0.5416, allocations: 113 kB / 0.7588 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.5416, allocations: 7.906 kB / 0.7588 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.5417, allocations: 4.625 kB / 0.7588 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5417, allocations: 0 / 0.7588 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.5417, allocations: 7.891 kB / 0.7588 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5417, allocations: 7.984 kB / 0.7588 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.5423, allocations: 366.3 kB / 0.7591 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5423, allocations: 0 / 0.7591 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.5424, allocations: 11.98 kB / 0.7592 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5424, allocations: 0 / 0.7592 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.5425, allocations: 7.953 kB / 0.7592 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5425, allocations: 4 kB / 0.7592 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5425, allocations: 0 / 0.7592 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.5429, allocations: 191.5 kB / 0.7594 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.5429, allocations: 85.02 kB / 0.7594 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.543, allocations: 0 / 0.7594 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5431, allocations: 11.95 kB / 0.7594 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.5432, allocations: 7.984 kB / 0.7595 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.5432, allocations: 0 / 0.7595 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.5433, allocations: 95.27 kB / 0.7595 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5433, allocations: 0 / 0.7595 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004862/0.5438, allocations: 47.94 kB / 0.7596 GB, free: 1.105 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.00103/0.5449, allocations: 0.8075 MB / 0.7604 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.5451, allocations: 59.95 kB / 0.7604 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5451, allocations: 4 kB / 0.7604 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.5453, allocations: 36 kB / 0.7605 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5455, allocations: 7.891 kB / 0.7605 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.5462, allocations: 159 kB / 0.7606 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.5465, allocations: 0.6887 MB / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.773e-05/0.5466, allocations: 8.172 kB / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.5467, allocations: 19.44 kB / 0.7613 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.5467, allocations: 4 kB / 0.7613 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.5753, allocations: 2.499 MB / 0.7638 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/0.5757, allocations: 204.4 kB / 0.764 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.888, allocations: 1.875 kB / 0.764 GB, free: 12.59 MB / 0.6511 GB