Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001386, allocations: 181.3 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009521/0.0009524, allocations: 91.48 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.694e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7034, allocations: 115.3 MB / 0.9637 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.892, allocations: 139.2 MB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.8923, allocations: 80.47 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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: time 0.009181/0.9015, allocations: 2.653 MB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.9015, allocations: 1.25 kB / 1.102 GB, free: 14.17 MB / 0.7136 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.0005826/0.9021, allocations: 419.9 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.9022, allocations: 10.16 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.9022, allocations: 9.094 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.9024, allocations: 167 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.9025, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.9025, allocations: 7.984 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.5e-05/0.9026, allocations: 24.59 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.9027, allocations: 54.27 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9027, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9027, allocations: 4.844 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.9028, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.9033, allocations: 276.1 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.9034, allocations: 44 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.9034, allocations: 20.98 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.9035, allocations: 13.75 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.9036, allocations: 69.33 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.9036, allocations: 0.5938 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002552/0.9038, allocations: 75.28 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.9039, allocations: 56.02 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.904, allocations: 112.6 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.904, allocations: 29.7 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.9041, allocations: 84.31 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.9041, allocations: 24.44 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.9041, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.9042, allocations: 319.4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.9043, allocations: 20.56 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.9044, allocations: 42.52 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/0.9044, allocations: 22.95 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9044, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001822/0.9046, allocations: 97.5 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.9047, allocations: 4 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9047, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9047, allocations: 4.062 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.9048, allocations: 15.98 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.9048, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.9049, allocations: 10.53 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.9049, allocations: 4 kB / 1.104 GB, free: 11.97 MB / 0.7136 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.343e-05/0.905, allocations: 108.9 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.905, allocations: 11.91 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.9051, allocations: 8.375 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9051, allocations: 4 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.9051, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.9051, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.9054, allocations: 319 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9054, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.9055, allocations: 9.734 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.9055, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.9055, allocations: 4 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9055, allocations: 3.906 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.9055, allocations: 3.938 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001781/0.9057, allocations: 175.4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.9058, allocations: 81.02 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.9058, allocations: 4 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.9059, allocations: 15.92 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.906, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.906, allocations: 11.98 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.867e-05/0.906, allocations: 89.14 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003447/0.9064, allocations: 47.92 kB / 1.105 GB, free: 11.01 MB / 0.7136 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.0003685/0.9068, allocations: 179.1 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.9069, allocations: 51.92 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9069, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.907, allocations: 27.94 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.9072, allocations: 11.91 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.9075, allocations: 96.62 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.9079, allocations: 0.7052 MB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.9079, allocations: 0 / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.004759/0.9126, allocations: 1.642 MB / 1.108 GB, free: 8.301 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)