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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.332/4.332, allocations: 433.2 MB / 440.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.72e-05, allocations: 2.75 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3026/0.5319, allocations: 125.7 MB / 0.7517 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/0.5324, allocations: 83.94 kB / 0.7518 GB, free: 11.12 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01419/0.5466, allocations: 2.916 MB / 0.7546 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5466, allocations: 0 / 0.7546 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.5467, allocations: 0 / 0.7546 GB, free: 8.199 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.0007109/0.5474, allocations: 416 kB / 0.755 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5474, allocations: 8.031 kB / 0.755 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.5475, allocations: 7.953 kB / 0.755 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.5477, allocations: 178.9 kB / 0.7552 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.5477, allocations: 4 kB / 0.7552 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.5477, allocations: 3.984 kB / 0.7552 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001149/0.5479, allocations: 24 kB / 0.7552 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.548, allocations: 57.61 kB / 0.7553 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.5481, allocations: 0 / 0.7553 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.5481, allocations: 0 / 0.7553 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5481, allocations: 3.953 kB / 0.7553 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.549, allocations: 293.3 kB / 0.7556 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.5491, allocations: 34.58 kB / 0.7556 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.5492, allocations: 29.58 kB / 0.7556 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.5492, allocations: 0 / 0.7556 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.5494, allocations: 79.33 kB / 0.7557 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.379e-06/0.5495, allocations: 0 / 0.7557 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003882/0.5499, allocations: 101.5 kB / 0.7558 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.5499, allocations: 55.41 kB / 0.7558 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.5501, allocations: 109 kB / 0.7559 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5501, allocations: 25.7 kB / 0.756 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.5502, allocations: 92.23 kB / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.5502, allocations: 7.906 kB / 0.7561 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.5503, allocations: 4 kB / 0.7561 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5504, allocations: 322.8 kB / 0.7564 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.5505, allocations: 12 kB / 0.7564 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.5506, allocations: 43 kB / 0.7564 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.5507, allocations: 19.94 kB / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.5508, allocations: 0 / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002903/0.5511, allocations: 97.56 kB / 0.7565 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.5511, allocations: 4 kB / 0.7565 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5511, allocations: 3.938 kB / 0.7565 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.845e-05/0.5512, allocations: 7.984 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.5514, allocations: 11.98 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5514, allocations: 3.953 kB / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5516, allocations: 15.84 kB / 0.7566 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.5516, allocations: 8 kB / 0.7566 GB, free: 5.938 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.000128/0.5517, allocations: 113 kB / 0.7567 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002911/0.552, allocations: 93.61 kB / 0.7568 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.5521, allocations: 3.906 kB / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.5521, allocations: 12.62 kB / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.5521, allocations: 3.953 kB / 0.7568 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5521, allocations: 0 / 0.7568 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5522, allocations: 0 / 0.7568 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.5527, allocations: 335.1 kB / 0.7571 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5527, allocations: 7.938 kB / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.5528, allocations: 7.938 kB / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5528, allocations: 0 / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.5529, allocations: 7.938 kB / 0.7572 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5529, allocations: 0 / 0.7572 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5529, allocations: 0 / 0.7572 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.5532, allocations: 195.7 kB / 0.7573 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.5533, allocations: 81.02 kB / 0.7574 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.5533, allocations: 7.938 kB / 0.7574 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5535, allocations: 13.62 kB / 0.7574 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.5535, allocations: 8 kB / 0.7574 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.5536, allocations: 7.984 kB / 0.7575 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.532e-05/0.5537, allocations: 91.44 kB / 0.7575 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5537, allocations: 0 / 0.7575 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005002/0.5542, allocations: 47.92 kB / 0.7576 GB, free: 4.828 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.001199/0.5554, allocations: 0.8007 MB / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.5557, allocations: 51.92 kB / 0.7584 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5557, allocations: 4.125 kB / 0.7584 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.5558, allocations: 24 kB / 0.7584 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.5561, allocations: 10.02 kB / 0.7585 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.5568, allocations: 146 kB / 0.7586 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.5571, allocations: 0.6924 MB / 0.7593 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.535e-05/0.5572, allocations: 12.17 kB / 0.7593 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.5573, allocations: 23.38 kB / 0.7593 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.5573, allocations: 0 / 0.7593 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.5991, allocations: 2.185 MB / 0.7614 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/0.5996, allocations: 202 kB / 0.7616 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.25, allocations: 32 / 0.7616 GB, free: 0.5508 MB / 0.6355 GB