Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.502/4.502, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.107e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2733, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9415/1.215, allocations: 133.8 MB / 0.8085 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.215, allocations: 79.77 kB / 0.8086 GB, free: 12.02 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.0132/1.228, allocations: 2.986 MB / 0.8115 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.228, allocations: 0 / 0.8115 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.229, allocations: 0 / 0.8115 GB, free: 11.56 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.000629/1.229, allocations: 413.9 kB / 0.8119 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.229, allocations: 7.406 kB / 0.8119 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/1.229, allocations: 37.47 kB / 0.8119 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/1.229, allocations: 7.906 kB / 0.8119 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.229, allocations: 174.1 kB / 0.8121 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.229, allocations: 7.812 kB / 0.8121 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/1.23, allocations: 7.781 kB / 0.8121 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/1.23, allocations: 65.09 kB / 0.8122 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.23, allocations: 0 / 0.8122 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.23, allocations: 0 / 0.8122 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.23, allocations: 0 / 0.8122 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/1.23, allocations: 30.59 kB / 0.8122 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/1.231, allocations: 314.2 kB / 0.8125 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/1.231, allocations: 44.89 kB / 0.8125 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/1.231, allocations: 25.89 kB / 0.8126 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/1.231, allocations: 0 / 0.8126 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/1.231, allocations: 71.91 kB / 0.8126 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.231, allocations: 0 / 0.8126 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003162/1.231, allocations: 101.3 kB / 0.8127 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.231, allocations: 51.41 kB / 0.8128 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/1.232, allocations: 113.5 kB / 0.8129 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/1.232, allocations: 29.39 kB / 0.8129 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/1.232, allocations: 90.58 kB / 0.813 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/1.232, allocations: 21.33 kB / 0.813 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/1.232, allocations: 3.938 kB / 0.813 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/1.232, allocations: 321.2 kB / 0.8133 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/1.232, allocations: 23.22 kB / 0.8134 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/1.232, allocations: 43.38 kB / 0.8134 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/1.232, allocations: 17.33 kB / 0.8134 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.232, allocations: 0 / 0.8134 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002288/1.232, allocations: 102 kB / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.232, allocations: 7.875 kB / 0.8135 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.232, allocations: 0 / 0.8135 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.232, allocations: 3.812 kB / 0.8135 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/1.233, allocations: 10.44 kB / 0.8135 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/1.233, allocations: 3.938 kB / 0.8135 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.233, allocations: 13.09 kB / 0.8135 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/1.233, allocations: 7.922 kB / 0.8136 GB, free: 9.789 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.518e-05/1.233, allocations: 119.3 kB / 0.8137 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/1.233, allocations: 3 kB / 0.8137 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/1.233, allocations: 11.78 kB / 0.8137 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.233, allocations: 0 / 0.8137 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.233, allocations: 0 / 0.8137 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.233, allocations: 0 / 0.8137 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/1.233, allocations: 373 kB / 0.814 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.233, allocations: 0 / 0.814 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/1.233, allocations: 10.34 kB / 0.814 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.233, allocations: 4 kB / 0.8141 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/1.234, allocations: 3.844 kB / 0.8141 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.234, allocations: 0 / 0.8141 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.234, allocations: 0 / 0.8141 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/1.234, allocations: 192.8 kB / 0.8142 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/1.234, allocations: 84.83 kB / 0.8143 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/1.234, allocations: 7.438 kB / 0.8143 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.234, allocations: 10.11 kB / 0.8143 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/1.234, allocations: 10.48 kB / 0.8143 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.234, allocations: 3.984 kB / 0.8143 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.525e-05/1.234, allocations: 108.5 kB / 0.8145 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.234, allocations: 0 / 0.8145 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000462/1.235, allocations: 48.73 kB / 0.8145 GB, free: 9.008 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.001236/1.236, allocations: 0.7936 MB / 0.8153 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002491/1.236, allocations: 57.78 kB / 0.8153 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.236, allocations: 0 / 0.8153 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/1.236, allocations: 22.38 kB / 0.8154 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/1.237, allocations: 15.97 kB / 0.8154 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/1.237, allocations: 149.2 kB / 0.8155 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.238, allocations: 0.6935 MB / 0.8162 GB, free: 23.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.915e-05/1.238, allocations: 7.312 kB / 0.8162 GB, free: 23.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/1.238, allocations: 21.41 kB / 0.8162 GB, free: 23.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.238, allocations: 0 / 0.8162 GB, free: 23.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/1.263, allocations: 2.499 MB / 0.8187 GB, free: 23.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/1.264, allocations: 211 kB / 0.8189 GB, free: 22.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.677, allocations: 7.938 kB / 0.8189 GB, free: 22.94 MB / 0.6511 GB