Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.248/4.248, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.25e-05, allocations: 4.5 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.23, allocations: 98.72 MB / 0.6302 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.4766, allocations: 126.4 MB / 0.7536 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.477, allocations: 79.95 kB / 0.7537 GB, free: 7.445 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.01408/0.4911, allocations: 2.927 MB / 0.7566 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4911, allocations: 0 / 0.7566 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4911, allocations: 0 / 0.7566 GB, free: 4.512 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.0008034/0.4919, allocations: 419.9 kB / 0.757 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.492, allocations: 8.031 kB / 0.757 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.4921, allocations: 42.55 kB / 0.757 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.4921, allocations: 7.859 kB / 0.757 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.4923, allocations: 170.9 kB / 0.7572 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4924, allocations: 4 kB / 0.7572 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4924, allocations: 8 kB / 0.7572 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4926, allocations: 61.67 kB / 0.7573 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4926, allocations: 0 / 0.7573 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4926, allocations: 0 / 0.7573 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4927, allocations: 0 / 0.7573 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4928, allocations: 31.92 kB / 0.7573 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.4936, allocations: 320.7 kB / 0.7576 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4938, allocations: 38.58 kB / 0.7576 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.4939, allocations: 24.98 kB / 0.7577 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4939, allocations: 3.938 kB / 0.7577 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.4941, allocations: 75.33 kB / 0.7577 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.4941, allocations: 0 / 0.7577 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003456/0.4945, allocations: 101.5 kB / 0.7578 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.4946, allocations: 59.45 kB / 0.7579 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4947, allocations: 109 kB / 0.758 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.4947, allocations: 33.69 kB / 0.758 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.4948, allocations: 88.33 kB / 0.7581 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.4948, allocations: 15.81 kB / 0.7581 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.4949, allocations: 0 / 0.7581 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.495, allocations: 318.8 kB / 0.7584 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.4951, allocations: 16 kB / 0.7585 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4952, allocations: 46.56 kB / 0.7585 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.921e-05/0.4953, allocations: 23.94 kB / 0.7585 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4953, allocations: 0 / 0.7585 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002527/0.4956, allocations: 93.58 kB / 0.7586 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4956, allocations: 4 kB / 0.7586 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4956, allocations: 4 kB / 0.7586 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4957, allocations: 4.062 kB / 0.7586 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.4958, allocations: 19.88 kB / 0.7586 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4959, allocations: 4 kB / 0.7586 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.496, allocations: 8 kB / 0.7587 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.496, allocations: 4 kB / 0.7587 GB, free: 2.145 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.0001009/0.4961, allocations: 113 kB / 0.7588 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.4962, allocations: 3.906 kB / 0.7588 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.4962, allocations: 12.62 kB / 0.7588 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4962, allocations: 0 / 0.7588 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4962, allocations: 7.891 kB / 0.7588 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4963, allocations: 3.938 kB / 0.7588 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.4968, allocations: 374.5 kB / 0.7591 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4968, allocations: 4 kB / 0.7592 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.4969, allocations: 11.98 kB / 0.7592 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4969, allocations: 0 / 0.7592 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.497, allocations: 7.953 kB / 0.7592 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.497, allocations: 4 kB / 0.7592 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.497, allocations: 80 / 0.7592 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.4973, allocations: 199.4 kB / 0.7594 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.4974, allocations: 85 kB / 0.7594 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.4974, allocations: 4 kB / 0.7594 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4976, allocations: 7.953 kB / 0.7595 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4976, allocations: 3.984 kB / 0.7595 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.4976, allocations: 8 kB / 0.7595 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.4977, allocations: 91.28 kB / 0.7596 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4977, allocations: 0 / 0.7596 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004634/0.4982, allocations: 51.92 kB / 0.7596 GB, free: 1.066 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.00106/0.4993, allocations: 0.7978 MB / 0.7604 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.4995, allocations: 52 kB / 0.7604 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4996, allocations: 0 / 0.7604 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4997, allocations: 31.92 kB / 0.7605 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4999, allocations: 7.953 kB / 0.7605 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.5006, allocations: 163.1 kB / 0.7606 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5009, allocations: 0.6926 MB / 0.7613 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.134e-05/0.501, allocations: 4.188 kB / 0.7613 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.5011, allocations: 19.42 kB / 0.7613 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/0.5011, allocations: 0 / 0.7613 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.5219, allocations: 2.5 MB / 0.7638 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/0.5222, allocations: 219.2 kB / 0.764 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.905, allocations: 0 / 0.764 GB, free: 12.57 MB / 0.6511 GB