Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.074/4.074, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.97e-05, allocations: 2.5 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 98.71 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/0.492, allocations: 126.4 MB / 0.7536 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.4923, allocations: 87.92 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.01425/0.5066, allocations: 2.924 MB / 0.7566 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5066, allocations: 3.938 kB / 0.7566 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.5067, allocations: 0 / 0.7566 GB, free: 4.559 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.0006591/0.5073, allocations: 421.9 kB / 0.757 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5074, allocations: 16.03 kB / 0.757 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.5074, allocations: 30.56 kB / 0.757 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.5075, allocations: 11.86 kB / 0.757 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5076, allocations: 167 kB / 0.7572 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.5077, allocations: 7.984 kB / 0.7572 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.5077, allocations: 7.984 kB / 0.7572 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5079, allocations: 57.67 kB / 0.7573 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5079, allocations: 0 / 0.7573 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.508, allocations: 4 kB / 0.7573 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.508, allocations: 4 kB / 0.7573 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.5081, allocations: 27.94 kB / 0.7573 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008277/0.5089, allocations: 312.7 kB / 0.7576 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.5091, allocations: 50.5 kB / 0.7576 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.5092, allocations: 28.98 kB / 0.7577 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.5092, allocations: 4.062 kB / 0.7577 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5094, allocations: 71.33 kB / 0.7577 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.5094, allocations: 0 / 0.7577 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000371/0.5098, allocations: 101.5 kB / 0.7578 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5099, allocations: 51.41 kB / 0.7579 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.51, allocations: 113 kB / 0.758 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.51, allocations: 29.7 kB / 0.758 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.5101, allocations: 92.31 kB / 0.7581 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.5102, allocations: 19.8 kB / 0.7581 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.5102, allocations: 0 / 0.7581 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5103, allocations: 318.8 kB / 0.7584 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.5104, allocations: 20 kB / 0.7585 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.5105, allocations: 39.02 kB / 0.7585 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.5106, allocations: 27.92 kB / 0.7585 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5106, allocations: 0 / 0.7585 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002608/0.5109, allocations: 93.58 kB / 0.7586 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5109, allocations: 4 kB / 0.7586 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5109, allocations: 4 kB / 0.7586 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.511, allocations: 0 / 0.7586 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.5111, allocations: 23.88 kB / 0.7586 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5112, allocations: 4.156 kB / 0.7586 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.5113, allocations: 8.062 kB / 0.7586 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.5113, allocations: 7.984 kB / 0.7587 GB, free: 2.184 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 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.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 8.926e-05/0.5114, allocations: 105 kB / 0.7588 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.5115, allocations: 7.906 kB / 0.7588 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.5115, allocations: 20.55 kB / 0.7588 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5115, allocations: 3.938 kB / 0.7588 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5115, allocations: 7.953 kB / 0.7588 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5116, allocations: 4 kB / 0.7588 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.5121, allocations: 370.3 kB / 0.7592 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5121, allocations: 0 / 0.7592 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.5122, allocations: 8 kB / 0.7592 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5122, allocations: 0 / 0.7592 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.5123, allocations: 7.938 kB / 0.7592 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5123, allocations: 0 / 0.7592 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5123, allocations: 0 / 0.7592 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.5126, allocations: 195.5 kB / 0.7594 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.5126, allocations: 81.02 kB / 0.7594 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5127, allocations: 4 kB / 0.7594 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5128, allocations: 11.94 kB / 0.7594 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.5129, allocations: 4 kB / 0.7594 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5129, allocations: 7.984 kB / 0.7595 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.513, allocations: 91.44 kB / 0.7595 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.513, allocations: 4 kB / 0.7595 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004557/0.5135, allocations: 55.92 kB / 0.7596 GB, free: 1.109 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0009626/0.5145, allocations: 0.7912 MB / 0.7604 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.5147, allocations: 55.98 kB / 0.7604 GB, free: 256 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5147, allocations: 0 / 0.7604 GB, free: 256 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.5148, allocations: 27.94 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.0002349/0.5151, allocations: 15.94 kB / 0.7605 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.5157, allocations: 151 kB / 0.7606 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.5161, allocations: 0.6967 MB / 0.7613 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.5162, allocations: 4.734 kB / 0.7613 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.5162, allocations: 19.42 kB / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/0.5162, allocations: 0 / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.5415, allocations: 2.512 MB / 0.7638 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/0.5419, allocations: 212.8 kB / 0.764 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.144, allocations: 0 / 0.764 GB, free: 12.62 MB / 0.6511 GB