Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.124/4.124, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.528e-05, allocations: 4.562 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 98.71 MB / 0.6302 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.4826, allocations: 126.4 MB / 0.7537 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.483, allocations: 79.95 kB / 0.7537 GB, free: 7.492 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.01462/0.4976, allocations: 2.92 MB / 0.7566 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.588e-06/0.4976, allocations: 4 kB / 0.7566 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.4977, allocations: 0 / 0.7566 GB, free: 4.562 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.0006974/0.4984, allocations: 412 kB / 0.757 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.4984, allocations: 8.031 kB / 0.757 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.4985, allocations: 38.55 kB / 0.757 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.4986, allocations: 11.86 kB / 0.757 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.4987, allocations: 171 kB / 0.7572 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.4988, allocations: 8 kB / 0.7572 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4988, allocations: 8 kB / 0.7572 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.499, allocations: 53.67 kB / 0.7573 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.499, allocations: 4 kB / 0.7573 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4991, allocations: 7.922 kB / 0.7573 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4991, allocations: 0 / 0.7573 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4992, allocations: 20 kB / 0.7573 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.5, allocations: 320.7 kB / 0.7576 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.5002, allocations: 46.5 kB / 0.7576 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.5003, allocations: 28.97 kB / 0.7577 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5003, allocations: 0 / 0.7577 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5005, allocations: 79.33 kB / 0.7577 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.5005, allocations: 0 / 0.7577 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003458/0.5009, allocations: 101.6 kB / 0.7578 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.5009, allocations: 51.41 kB / 0.7579 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5011, allocations: 113 kB / 0.758 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.5011, allocations: 29.7 kB / 0.758 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.5012, allocations: 88.33 kB / 0.7581 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.5012, allocations: 11.81 kB / 0.7581 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.5013, allocations: 4 kB / 0.7581 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5014, allocations: 322.8 kB / 0.7584 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.5015, allocations: 16 kB / 0.7585 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.5016, allocations: 42.56 kB / 0.7585 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.348e-05/0.5017, allocations: 27.88 kB / 0.7585 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5017, allocations: 0 / 0.7585 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002591/0.502, allocations: 101.6 kB / 0.7586 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.502, allocations: 4 kB / 0.7586 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5021, allocations: 3.938 kB / 0.7586 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5021, allocations: 4 kB / 0.7586 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.5022, allocations: 15.94 kB / 0.7586 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5023, allocations: 0 / 0.7586 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.5024, allocations: 15.98 kB / 0.7587 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.5024, allocations: 0 / 0.7587 GB, free: 2.195 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 9.973e-05/0.5025, allocations: 109 kB / 0.7588 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.5026, allocations: 11.91 kB / 0.7588 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.5026, allocations: 8.625 kB / 0.7588 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5026, allocations: 3.938 kB / 0.7588 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5027, allocations: 3.953 kB / 0.7588 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5027, allocations: 3.938 kB / 0.7588 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.5032, allocations: 366.5 kB / 0.7591 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5033, allocations: 4 kB / 0.7591 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.5033, allocations: 11.98 kB / 0.7592 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5034, allocations: 4 kB / 0.7592 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5034, allocations: 7.953 kB / 0.7592 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5034, allocations: 0 / 0.7592 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5034, allocations: 80 / 0.7592 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.5037, allocations: 199.4 kB / 0.7594 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.5038, allocations: 81.02 kB / 0.7594 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.5038, allocations: 4 kB / 0.7594 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.504, allocations: 11.95 kB / 0.7595 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.504, allocations: 3.984 kB / 0.7595 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5041, allocations: 4 kB / 0.7595 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.5041, allocations: 91.92 kB / 0.7595 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5042, allocations: 0 / 0.7595 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004715/0.5046, allocations: 51.94 kB / 0.7596 GB, free: 1.129 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.001036/0.5057, allocations: 0.7985 MB / 0.7604 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.506, allocations: 59.97 kB / 0.7604 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.506, allocations: 3.938 kB / 0.7604 GB, free: 260 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.5061, allocations: 32.06 kB / 0.7605 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5063, allocations: 10.39 kB / 0.7605 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.507, allocations: 156.8 kB / 0.7606 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.5074, allocations: 0.6926 MB / 0.7613 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.928e-05/0.5074, allocations: 4.172 kB / 0.7613 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.5075, allocations: 19.44 kB / 0.7613 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of SimCode: time 9.81e-07/0.5075, allocations: 4 kB / 0.7613 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.5326, allocations: 2.496 MB / 0.7638 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.533, allocations: 210.7 kB / 0.764 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.936, allocations: 0 / 0.764 GB, free: 12.63 MB / 0.6511 GB