Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [: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.505/1.505, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001149/0.001148, allocations: 176.1 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.302/1.302, allocations: 205.1 MB / 0.6256 GB, free: 5.871 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.0008867/0.0008867, allocations: 81.69 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.779e-06/4.799e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 116.3 MB / 0.9725 GB, free: 68.44 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.7009, allocations: 140.2 MB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.7012, allocations: 80.39 kB / 1.11 GB, free: 8.23 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.008932/0.7101, allocations: 2.647 MB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7102, allocations: 4 kB / 1.112 GB, free: 5.59 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.000656/0.7108, allocations: 418.4 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.7109, allocations: 8.031 kB / 1.113 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.7109, allocations: 7.906 kB / 1.113 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.7111, allocations: 167 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.7111, allocations: 4 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.7111, allocations: 4.938 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.239e-05/0.7112, allocations: 27.92 kB / 1.113 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7114, allocations: 57.67 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7114, allocations: 0 / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.7114, allocations: 0 / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.7114, allocations: 0 / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.7119, allocations: 285.3 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.712, allocations: 38.56 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.712, allocations: 28.92 kB / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.7121, allocations: 0 / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.515e-05/0.7122, allocations: 67.95 kB / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7122, allocations: 4 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002694/0.7125, allocations: 75.86 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.7125, allocations: 55.41 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.7126, allocations: 112.9 kB / 1.113 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.7126, allocations: 25.7 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.7127, allocations: 85.91 kB / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.7127, allocations: 23.81 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.7127, allocations: 3.938 kB / 1.114 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7129, allocations: 326.8 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.7129, allocations: 16 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.713, allocations: 40.59 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/0.7131, allocations: 19.98 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7131, allocations: 0 / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000171/0.7133, allocations: 93.52 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7133, allocations: 12.06 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7133, allocations: 0 / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.7133, allocations: 0 / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.7134, allocations: 19.98 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7134, allocations: 0 / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.7135, allocations: 7.906 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.7136, allocations: 4 kB / 1.114 GB, free: 3.379 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.674e-05/0.7136, allocations: 114.4 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.7137, allocations: 4.562 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.7137, allocations: 16.36 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7137, allocations: 0 / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7137, allocations: 0 / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7137, allocations: 0 / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.7141, allocations: 319 kB / 1.114 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7141, allocations: 0 / 1.114 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.7141, allocations: 8.562 kB / 1.114 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.7142, allocations: 3.984 kB / 1.114 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7142, allocations: 4 kB / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7142, allocations: 3.906 kB / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7142, allocations: 3.938 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001858/0.7144, allocations: 176.8 kB / 1.115 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.7144, allocations: 85.67 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.7145, allocations: 0 / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7146, allocations: 11.98 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.7146, allocations: 11.94 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.7146, allocations: 3.984 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.65e-05/0.7147, allocations: 87.28 kB / 1.115 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003131/0.715, allocations: 39.94 kB / 1.115 GB, free: 2.418 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.0003832/0.7154, allocations: 172.5 kB / 1.115 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.7156, allocations: 51.94 kB / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7156, allocations: 0 / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.7156, allocations: 37.78 kB / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.7158, allocations: 9.547 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.7162, allocations: 95.94 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.7165, allocations: 0.7036 MB / 1.116 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7166, allocations: 0 / 1.116 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.00406/0.7206, allocations: 1.642 MB / 1.118 GB, free: 15.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)