Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.994/3.994, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.656e-05, allocations: 4.25 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2302, allocations: 98.72 MB / 0.6302 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.5168, allocations: 126.4 MB / 0.7536 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.5172, allocations: 79.95 kB / 0.7537 GB, free: 7.461 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.01415/0.5313, allocations: 2.927 MB / 0.7566 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5314, allocations: 0 / 0.7566 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.5314, allocations: 4 kB / 0.7566 GB, free: 4.523 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.0007303/0.5322, allocations: 412 kB / 0.757 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5322, allocations: 12.03 kB / 0.757 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.5323, allocations: 34.56 kB / 0.757 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.5323, allocations: 15.84 kB / 0.757 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.5325, allocations: 167 kB / 0.7572 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.5325, allocations: 8 kB / 0.7572 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.5326, allocations: 0 / 0.7572 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.5328, allocations: 61.66 kB / 0.7573 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5328, allocations: 3.938 kB / 0.7573 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5328, allocations: 0 / 0.7573 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.5329, allocations: 4 kB / 0.7573 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.533, allocations: 31.97 kB / 0.7573 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.5338, allocations: 316.7 kB / 0.7576 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.534, allocations: 38.58 kB / 0.7576 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.5341, allocations: 28.98 kB / 0.7577 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.5341, allocations: 7.984 kB / 0.7577 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.5343, allocations: 75.27 kB / 0.7577 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.5343, allocations: 0 / 0.7577 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003384/0.5346, allocations: 101.6 kB / 0.7578 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.5347, allocations: 55.41 kB / 0.7579 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5348, allocations: 109 kB / 0.758 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5349, allocations: 29.7 kB / 0.758 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.535, allocations: 92.33 kB / 0.7581 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.535, allocations: 19.75 kB / 0.7581 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.535, allocations: 0 / 0.7581 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5351, allocations: 318.8 kB / 0.7584 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.5352, allocations: 20 kB / 0.7585 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5353, allocations: 46.94 kB / 0.7585 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.5355, allocations: 20 kB / 0.7585 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5355, allocations: 0 / 0.7585 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002795/0.5358, allocations: 101.5 kB / 0.7586 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5358, allocations: 4 kB / 0.7586 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5358, allocations: 4 kB / 0.7586 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5358, allocations: 0 / 0.7586 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.536, allocations: 15.94 kB / 0.7586 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5361, allocations: 4 kB / 0.7586 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5362, allocations: 12.06 kB / 0.7587 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.5362, allocations: 7.984 kB / 0.7587 GB, free: 2.148 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 0.0001121/0.5363, allocations: 109 kB / 0.7588 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.5364, allocations: 3.906 kB / 0.7588 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.5364, allocations: 8.625 kB / 0.7588 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5365, allocations: 3.938 kB / 0.7588 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5365, allocations: 3.953 kB / 0.7588 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5365, allocations: 0 / 0.7588 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.5371, allocations: 378.5 kB / 0.7591 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5372, allocations: 0 / 0.7591 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.5373, allocations: 15.98 kB / 0.7592 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.5373, allocations: 0 / 0.7592 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.5373, allocations: 3.953 kB / 0.7592 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5373, allocations: 0 / 0.7592 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5373, allocations: 0 / 0.7592 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.5377, allocations: 199.5 kB / 0.7594 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.5378, allocations: 85 kB / 0.7594 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.5378, allocations: 4 kB / 0.7594 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.538, allocations: 7.953 kB / 0.7594 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.538, allocations: 3.984 kB / 0.7595 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.538, allocations: 4 kB / 0.7595 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.211e-05/0.5381, allocations: 103.4 kB / 0.7596 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5382, allocations: 0 / 0.7596 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005082/0.5387, allocations: 47.94 kB / 0.7596 GB, free: 1.082 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.001094/0.5398, allocations: 0.794 MB / 0.7604 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.5401, allocations: 56 kB / 0.7604 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5401, allocations: 0 / 0.7604 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5402, allocations: 35.91 kB / 0.7605 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5405, allocations: 11.95 kB / 0.7605 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.5413, allocations: 155 kB / 0.7606 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5416, allocations: 0.6887 MB / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.833e-05/0.5417, allocations: 8.312 kB / 0.7613 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.5418, allocations: 23.42 kB / 0.7613 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/0.5418, allocations: 0 / 0.7613 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.5662, allocations: 2.51 MB / 0.7638 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/0.5665, allocations: 223.1 kB / 0.764 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.949, allocations: 5.875 kB / 0.764 GB, free: 12.58 MB / 0.6511 GB