Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.477/4.477, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.722e-05/4.735e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2551, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8832/1.138, allocations: 133.4 MB / 0.8022 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.139, allocations: 85.8 kB / 0.8023 GB, free: 13.08 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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.01297/1.152, allocations: 2.983 MB / 0.8052 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.152, allocations: 0 / 0.8052 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.152, allocations: 3.844 kB / 0.8052 GB, free: 12.61 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.0005692/1.152, allocations: 418.6 kB / 0.8056 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.152, allocations: 7.688 kB / 0.8056 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/1.152, allocations: 34.25 kB / 0.8056 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/1.152, allocations: 11.7 kB / 0.8056 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/1.153, allocations: 177.7 kB / 0.8058 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/1.153, allocations: 3.844 kB / 0.8058 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/1.153, allocations: 7.312 kB / 0.8058 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/1.153, allocations: 59.41 kB / 0.8059 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.153, allocations: 0 / 0.8059 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.153, allocations: 4 kB / 0.8059 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.153, allocations: 0 / 0.8059 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.462e-05/1.153, allocations: 29.12 kB / 0.8059 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/1.154, allocations: 312.9 kB / 0.8062 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/1.154, allocations: 45.33 kB / 0.8062 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/1.154, allocations: 24.14 kB / 0.8063 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/1.154, allocations: 3.438 kB / 0.8063 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/1.154, allocations: 65.64 kB / 0.8063 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/1.154, allocations: 0 / 0.8063 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003049/1.154, allocations: 99.97 kB / 0.8064 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/1.155, allocations: 66.77 kB / 0.8065 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/1.155, allocations: 110.2 kB / 0.8066 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/1.155, allocations: 29.58 kB / 0.8066 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/1.155, allocations: 90.62 kB / 0.8067 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/1.155, allocations: 15.59 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/1.155, allocations: 3.5 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.445e-05/1.155, allocations: 321 kB / 0.807 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/1.155, allocations: 21.97 kB / 0.8071 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/1.155, allocations: 43.88 kB / 0.8071 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/1.155, allocations: 21.75 kB / 0.8071 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.155, allocations: 0 / 0.8071 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002203/1.155, allocations: 92.23 kB / 0.8072 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.155, allocations: 7.688 kB / 0.8072 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.155, allocations: 0 / 0.8072 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.155, allocations: 3.953 kB / 0.8072 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/1.156, allocations: 18.77 kB / 0.8072 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.156, allocations: 8.141 kB / 0.8072 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/1.156, allocations: 10.02 kB / 0.8073 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/1.156, allocations: 3.875 kB / 0.8073 GB, free: 10.84 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.471e-05/1.156, allocations: 115.1 kB / 0.8074 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/1.156, allocations: 7.75 kB / 0.8074 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/1.156, allocations: 7.812 kB / 0.8074 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/1.156, allocations: 7.828 kB / 0.8074 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.156, allocations: 7.953 kB / 0.8074 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.156, allocations: 0 / 0.8074 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/1.156, allocations: 363.4 kB / 0.8077 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/1.156, allocations: 3.875 kB / 0.8077 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/1.157, allocations: 7.844 kB / 0.8078 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.157, allocations: 0 / 0.8078 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.157, allocations: 6.953 kB / 0.8078 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.157, allocations: 0 / 0.8078 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.157, allocations: 0 / 0.8078 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/1.157, allocations: 200.4 kB / 0.808 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/1.157, allocations: 81.02 kB / 0.808 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/1.157, allocations: 5.844 kB / 0.808 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.157, allocations: 7.797 kB / 0.808 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/1.157, allocations: 7.031 kB / 0.808 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.157, allocations: 3.969 kB / 0.8081 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.028e-05/1.157, allocations: 99.86 kB / 0.8081 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.157, allocations: 0 / 0.8081 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004527/1.158, allocations: 49.06 kB / 0.8082 GB, free: 10.07 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.0007795/1.158, allocations: 0.8028 MB / 0.809 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002097/1.159, allocations: 59.42 kB / 0.809 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.159, allocations: 0 / 0.809 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/1.159, allocations: 25.66 kB / 0.8091 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.159, allocations: 12.44 kB / 0.8091 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/1.16, allocations: 154 kB / 0.8092 GB, free: 25.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/1.16, allocations: 0.6991 MB / 0.8099 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.359e-05/1.16, allocations: 7.312 kB / 0.8099 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/1.161, allocations: 20.94 kB / 0.8099 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.161, allocations: 0 / 0.8099 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/1.19, allocations: 2.494 MB / 0.8124 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/1.191, allocations: 210.8 kB / 0.8126 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.537, allocations: 3.844 kB / 0.8126 GB, free: 23.98 MB / 0.6511 GB