Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) 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 4.202/4.202, allocations: 432.6 MB / 445.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.114e-05, allocations: 4.531 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2369, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.484, allocations: 126.4 MB / 0.7581 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4844, allocations: 83.94 kB / 0.7582 GB, free: 3.285 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.0142/0.4986, allocations: 2.926 MB / 0.7611 GB, free: 364 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4987, allocations: 0 / 0.7611 GB, free: 364 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.4987, allocations: 7.938 kB / 0.7611 GB, free: 356 kB / 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.0007489/0.4995, allocations: 419.9 kB / 0.7615 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.4995, allocations: 12.03 kB / 0.7615 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.4996, allocations: 34.56 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.4997, allocations: 7.953 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4998, allocations: 175 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.4999, allocations: 4 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.4999, allocations: 8 kB / 0.7617 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5001, allocations: 57.67 kB / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.5001, allocations: 0 / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.5002, allocations: 4 kB / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5002, allocations: 0 / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.5003, allocations: 23.94 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.5012, allocations: 328.8 kB / 0.7621 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.5013, allocations: 34.58 kB / 0.7621 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.5014, allocations: 24.98 kB / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.5014, allocations: 0 / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.5016, allocations: 79.27 kB / 0.7622 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.5017, allocations: 0 / 0.7622 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003518/0.502, allocations: 101.5 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.5021, allocations: 59.39 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.5022, allocations: 105 kB / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.5023, allocations: 33.7 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.5024, allocations: 96.16 kB / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.5024, allocations: 15.97 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.5024, allocations: 0 / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5026, allocations: 322.8 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.5027, allocations: 20 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.5028, allocations: 42.52 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.5029, allocations: 19.98 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5029, allocations: 4 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002634/0.5032, allocations: 97.52 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5032, allocations: 4 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5032, allocations: 4.062 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5033, allocations: 4 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5034, allocations: 15.94 kB / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5035, allocations: 0 / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.5036, allocations: 15.91 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5036, allocations: 0 / 0.7632 GB, free: 13.98 MB / 0.6511 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.0001138/0.5037, allocations: 116.9 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.5038, allocations: 4 kB / 0.7633 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.5038, allocations: 12.62 kB / 0.7633 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5039, allocations: 7.938 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5039, allocations: 3.953 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5039, allocations: 3.938 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.5045, allocations: 362.6 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5045, allocations: 0 / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.5046, allocations: 7.938 kB / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5046, allocations: 0 / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5046, allocations: 15.94 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5046, allocations: 0 / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5046, allocations: 80 / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.505, allocations: 191.5 kB / 0.7639 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.5051, allocations: 85 kB / 0.7639 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.5051, allocations: 3.984 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.5052, allocations: 7.953 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.5053, allocations: 15.98 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5054, allocations: 8 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.5054, allocations: 87.94 kB / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5055, allocations: 0 / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004471/0.5059, allocations: 59.86 kB / 0.7641 GB, free: 12.9 MB / 0.6511 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.001104/0.507, allocations: 0.7982 MB / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.5073, allocations: 51.94 kB / 0.7649 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5073, allocations: 0 / 0.7649 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5074, allocations: 27.98 kB / 0.765 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5077, allocations: 15.89 kB / 0.765 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.5083, allocations: 159.2 kB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.5087, allocations: 0.6887 MB / 0.7658 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.096e-05/0.5088, allocations: 4.188 kB / 0.7658 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.5089, allocations: 23.42 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/0.5089, allocations: 0 / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.5322, allocations: 2.517 MB / 0.7683 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/0.5326, allocations: 228.6 kB / 0.7685 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.156, allocations: 0 / 0.7685 GB, free: 8.395 MB / 0.6511 GB