Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.517/1.517, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.001093/0.001092, allocations: 180 kB / 366.3 MB, free: 1.953 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.241/1.241, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008883/0.0008882, allocations: 88.42 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.243e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5183, allocations: 116.3 MB / 0.9725 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6718, allocations: 140.2 MB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.672, allocations: 84.39 kB / 1.11 GB, free: 8.223 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008391/0.6805, allocations: 2.643 MB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6805, allocations: 0.75 kB / 1.112 GB, free: 5.594 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.0004875/0.681, allocations: 426.3 kB / 1.113 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.681, allocations: 8.031 kB / 1.113 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.6811, allocations: 7.906 kB / 1.113 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.6812, allocations: 167 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.6812, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.6813, allocations: 4.562 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.154e-05/0.6813, allocations: 23.94 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.6815, allocations: 59.27 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6815, allocations: 3.984 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.6815, allocations: 4 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6816, allocations: 0 / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.682, allocations: 281.3 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.6821, allocations: 50.52 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.6821, allocations: 20.98 kB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.6822, allocations: 7.984 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.656e-05/0.6823, allocations: 59.41 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.6823, allocations: 0 / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000214/0.6825, allocations: 77.58 kB / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.6825, allocations: 55.41 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.6826, allocations: 112.9 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.6826, allocations: 29.7 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.6827, allocations: 84.33 kB / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.6827, allocations: 19.73 kB / 1.114 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.6827, allocations: 3.938 kB / 1.114 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6828, allocations: 315.4 kB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.6829, allocations: 27.92 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.6829, allocations: 38.58 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.683, allocations: 30.08 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.683, allocations: 0 / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001635/0.6832, allocations: 85.53 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.6832, allocations: 8.734 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6832, allocations: 0 / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.6832, allocations: 4 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.6834, allocations: 12.06 kB / 1.114 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6834, allocations: 4 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.6834, allocations: 11.89 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.6835, allocations: 4 kB / 1.114 GB, free: 3.375 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.217e-05/0.6836, allocations: 108.9 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.6836, allocations: 8.562 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.6836, allocations: 16.36 kB / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6836, allocations: 0 / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6836, allocations: 0 / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6836, allocations: 0 / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.684, allocations: 319 kB / 1.114 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.684, allocations: 0 / 1.114 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.684, allocations: 9.031 kB / 1.114 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6841, allocations: 3.938 kB / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.6841, allocations: 7.984 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6841, allocations: 3.906 kB / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6841, allocations: 0 / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001714/0.6843, allocations: 174 kB / 1.115 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.6843, allocations: 81.02 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.6843, allocations: 4 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.6844, allocations: 8 kB / 1.115 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6845, allocations: 11.92 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.6845, allocations: 4 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.5e-05/0.6846, allocations: 92.81 kB / 1.115 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002808/0.6848, allocations: 43.94 kB / 1.115 GB, free: 2.414 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.00035/0.6852, allocations: 176 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.6853, allocations: 51.98 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6853, allocations: 0 / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.6854, allocations: 31.94 kB / 1.115 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.6856, allocations: 9.438 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.6859, allocations: 99.8 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.6862, allocations: 0.6998 MB / 1.116 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6862, allocations: 4 kB / 1.116 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of Templates: time 0.00405/0.6903, allocations: 1.638 MB / 1.118 GB, free: 15.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)