Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.501/4.501, allocations: 460.5 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.702e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2732, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9388/1.212, allocations: 133.4 MB / 0.8022 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.213, allocations: 80.25 kB / 0.8023 GB, free: 12.7 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.01322/1.226, allocations: 2.974 MB / 0.8052 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/1.226, allocations: 0 / 0.8052 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.226, allocations: 3.844 kB / 0.8052 GB, free: 12.23 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.0005954/1.226, allocations: 419.2 kB / 0.8056 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.227, allocations: 7.781 kB / 0.8056 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/1.227, allocations: 34.31 kB / 0.8056 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/1.227, allocations: 14.78 kB / 0.8056 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/1.227, allocations: 178.1 kB / 0.8058 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/1.227, allocations: 0 / 0.8058 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/1.227, allocations: 3.812 kB / 0.8058 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/1.227, allocations: 60.3 kB / 0.8059 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.227, allocations: 0 / 0.8059 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.227, allocations: 4 kB / 0.8059 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.227, allocations: 3.844 kB / 0.8059 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/1.227, allocations: 28.48 kB / 0.8059 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/1.228, allocations: 313.8 kB / 0.8062 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/1.228, allocations: 39.27 kB / 0.8062 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/1.228, allocations: 26.61 kB / 0.8062 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.228, allocations: 7.438 kB / 0.8063 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/1.228, allocations: 73.77 kB / 0.8063 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/1.228, allocations: 0 / 0.8063 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003154/1.229, allocations: 100.8 kB / 0.8064 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.229, allocations: 55.25 kB / 0.8065 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/1.229, allocations: 114.6 kB / 0.8066 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/1.229, allocations: 33.48 kB / 0.8066 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/1.229, allocations: 86.66 kB / 0.8067 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/1.229, allocations: 22.27 kB / 0.8067 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1.229, allocations: 0 / 0.8067 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/1.229, allocations: 320.5 kB / 0.807 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/1.229, allocations: 21.91 kB / 0.807 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/1.229, allocations: 43.45 kB / 0.8071 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/1.229, allocations: 22 kB / 0.8071 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.229, allocations: 0 / 0.8071 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002225/1.23, allocations: 95.98 kB / 0.8072 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.23, allocations: 10.81 kB / 0.8072 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.23, allocations: 0 / 0.8072 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.23, allocations: 3.953 kB / 0.8072 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.23, allocations: 21.23 kB / 0.8072 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.23, allocations: 3.938 kB / 0.8072 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/1.23, allocations: 10.69 kB / 0.8072 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.23, allocations: 3.875 kB / 0.8073 GB, free: 10.45 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.444e-05/1.23, allocations: 110.4 kB / 0.8074 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/1.23, allocations: 7.781 kB / 0.8074 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/1.23, allocations: 10.91 kB / 0.8074 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.23, allocations: 11.83 kB / 0.8074 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.23, allocations: 3.953 kB / 0.8074 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.23, allocations: 0 / 0.8074 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/1.231, allocations: 360 kB / 0.8077 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.231, allocations: 3.875 kB / 0.8077 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/1.231, allocations: 3.844 kB / 0.8077 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.231, allocations: 0 / 0.8077 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/1.231, allocations: 6.859 kB / 0.8077 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.231, allocations: 0 / 0.8077 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.231, allocations: 4 kB / 0.8078 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/1.231, allocations: 198.1 kB / 0.8079 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/1.231, allocations: 83.88 kB / 0.808 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/1.231, allocations: 0 / 0.808 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.231, allocations: 10.52 kB / 0.808 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/1.231, allocations: 7.531 kB / 0.808 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/1.231, allocations: 6.781 kB / 0.808 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.573e-05/1.232, allocations: 102.9 kB / 0.8081 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.232, allocations: 0 / 0.8081 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004686/1.232, allocations: 53.11 kB / 0.8082 GB, free: 9.688 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.001351/1.233, allocations: 0.7991 MB / 0.809 GB, free: 25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002563/1.234, allocations: 53.06 kB / 0.809 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.234, allocations: 0 / 0.809 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/1.234, allocations: 35.94 kB / 0.8091 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/1.234, allocations: 5.453 kB / 0.8091 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/1.235, allocations: 159.6 kB / 0.8092 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/1.235, allocations: 0.6963 MB / 0.8099 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.842e-05/1.235, allocations: 4.031 kB / 0.8099 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/1.235, allocations: 16.08 kB / 0.8099 GB, free: 24.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/1.235, allocations: 0 / 0.8099 GB, free: 24.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.256, allocations: 2.511 MB / 0.8124 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.257, allocations: 222.4 kB / 0.8126 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.588, allocations: 7.938 kB / 0.8126 GB, free: 23.6 MB / 0.6511 GB