Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.584/4.584, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.595e-05/4.607e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2678, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9298/1.198, allocations: 133.8 MB / 0.8085 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.198, allocations: 83.19 kB / 0.8086 GB, free: 12.62 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.01388/1.212, allocations: 2.978 MB / 0.8115 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.993e-06/1.212, allocations: 0 / 0.8115 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.212, allocations: 0 / 0.8115 GB, free: 12.17 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.000641/1.213, allocations: 418.4 kB / 0.8119 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.213, allocations: 7.719 kB / 0.8119 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/1.213, allocations: 40.22 kB / 0.8119 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/1.213, allocations: 3.906 kB / 0.8119 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.213, allocations: 170.8 kB / 0.8121 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/1.213, allocations: 7.125 kB / 0.8121 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/1.213, allocations: 6.703 kB / 0.8121 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/1.213, allocations: 72.72 kB / 0.8122 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.213, allocations: 0 / 0.8122 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.213, allocations: 4 kB / 0.8122 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.213, allocations: 7.828 kB / 0.8122 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/1.214, allocations: 22.61 kB / 0.8122 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/1.214, allocations: 316.4 kB / 0.8125 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/1.214, allocations: 37.05 kB / 0.8125 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/1.215, allocations: 29.83 kB / 0.8126 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/1.215, allocations: 0 / 0.8126 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/1.215, allocations: 72.73 kB / 0.8126 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.285e-06/1.215, allocations: 0 / 0.8126 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003208/1.215, allocations: 100.6 kB / 0.8127 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/1.215, allocations: 55.41 kB / 0.8128 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/1.215, allocations: 113.6 kB / 0.8129 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/1.215, allocations: 32.95 kB / 0.8129 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/1.215, allocations: 90.56 kB / 0.813 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/1.215, allocations: 19.09 kB / 0.813 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/1.215, allocations: 0 / 0.813 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/1.215, allocations: 316.7 kB / 0.8133 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/1.216, allocations: 22 kB / 0.8133 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/1.216, allocations: 50.83 kB / 0.8134 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/1.216, allocations: 20.33 kB / 0.8134 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.216, allocations: 3.875 kB / 0.8134 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002277/1.216, allocations: 98.7 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.216, allocations: 3.969 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.216, allocations: 3.875 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.216, allocations: 4.062 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/1.216, allocations: 14 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.216, allocations: 3.875 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.216, allocations: 7.875 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/1.216, allocations: 10.38 kB / 0.8136 GB, free: 10.38 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.752e-05/1.217, allocations: 108.1 kB / 0.8137 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/1.217, allocations: 0 / 0.8137 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/1.217, allocations: 19.91 kB / 0.8137 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.217, allocations: 2.812 kB / 0.8137 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.217, allocations: 0 / 0.8137 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.217, allocations: 0 / 0.8137 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/1.217, allocations: 367.8 kB / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.217, allocations: 0 / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/1.217, allocations: 3.875 kB / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.217, allocations: 0 / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/1.217, allocations: 6.453 kB / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.217, allocations: 4 kB / 0.814 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.217, allocations: 0 / 0.814 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/1.218, allocations: 197 kB / 0.8142 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/1.218, allocations: 84.86 kB / 0.8143 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/1.218, allocations: 0 / 0.8143 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/1.218, allocations: 10.2 kB / 0.8143 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/1.218, allocations: 6.891 kB / 0.8143 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.218, allocations: 4 kB / 0.8143 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.866e-05/1.218, allocations: 101.3 kB / 0.8144 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/1.218, allocations: 0 / 0.8144 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004786/1.218, allocations: 51.38 kB / 0.8145 GB, free: 9.621 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.0008353/1.219, allocations: 0.8145 MB / 0.8153 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.22, allocations: 52.75 kB / 0.8153 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.22, allocations: 3.938 kB / 0.8153 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/1.22, allocations: 26.69 kB / 0.8154 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/1.22, allocations: 3.141 kB / 0.8154 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/1.221, allocations: 157 kB / 0.8155 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/1.221, allocations: 0.6934 MB / 0.8162 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.57e-05/1.221, allocations: 3.047 kB / 0.8162 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/1.221, allocations: 21.22 kB / 0.8162 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.221, allocations: 0 / 0.8162 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.247, allocations: 2.517 MB / 0.8187 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.248, allocations: 228 kB / 0.8189 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.789, allocations: 6.5 kB / 0.8189 GB, free: 23.54 MB / 0.6511 GB