Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [: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.483/1.483, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001058/0.001058, allocations: 179.5 kB / 366.3 MB, free: 1.969 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.219/1.219, allocations: 205.2 MB / 0.6256 GB, free: 5.82 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.0008978/0.0008978, allocations: 88.02 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.621e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4776, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.6258, allocations: 140.2 MB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6262, allocations: 80.62 kB / 1.11 GB, free: 8.25 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.008938/0.6351, allocations: 2.65 MB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6352, allocations: 4 kB / 1.112 GB, free: 5.613 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.0004954/0.6357, allocations: 418.4 kB / 1.113 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6358, allocations: 8.031 kB / 1.113 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.6358, allocations: 7.906 kB / 1.113 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.6359, allocations: 171 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.636, allocations: 4 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.636, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.368e-05/0.6361, allocations: 27.92 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.6362, allocations: 57.67 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.6362, allocations: 0 / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6362, allocations: 0 / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6362, allocations: 0 / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.6367, allocations: 281.3 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.6368, allocations: 34.58 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.6368, allocations: 32.91 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.6368, allocations: 0 / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.812e-05/0.6369, allocations: 71.39 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.6369, allocations: 5.969 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.6372, allocations: 77.66 kB / 1.113 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.6372, allocations: 55.41 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.6373, allocations: 115.2 kB / 1.113 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.6373, allocations: 25.7 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.6374, allocations: 88.31 kB / 1.114 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.6374, allocations: 15.75 kB / 1.114 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-06/0.6374, allocations: 3.938 kB / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6375, allocations: 326.8 kB / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.6376, allocations: 16 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.6376, allocations: 38.52 kB / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.6377, allocations: 19.98 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6377, allocations: 0 / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001586/0.6379, allocations: 96.25 kB / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6379, allocations: 12.06 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6379, allocations: 0 / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.6379, allocations: 0 / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.638, allocations: 15.98 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.6381, allocations: 0 / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.6381, allocations: 7.906 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6382, allocations: 4 kB / 1.114 GB, free: 3.402 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 6.891e-05/0.6382, allocations: 114 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.6382, allocations: 3.906 kB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.6383, allocations: 16.36 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.6383, allocations: 0 / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6383, allocations: 0 / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6383, allocations: 0 / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.6386, allocations: 319 kB / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6386, allocations: 0 / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.6387, allocations: 8 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6387, allocations: 0 / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6387, allocations: 7.984 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6387, allocations: 4.75 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6387, allocations: 3.938 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001766/0.6389, allocations: 171.4 kB / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.6389, allocations: 85.02 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.639, allocations: 0 / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.6391, allocations: 11.98 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.6391, allocations: 15.92 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.6391, allocations: 0 / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.539e-05/0.6392, allocations: 91.27 kB / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002724/0.6395, allocations: 40.59 kB / 1.115 GB, free: 2.441 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.0002954/0.6398, allocations: 178.7 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.6399, allocations: 54.25 kB / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.64, allocations: 0 / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.64, allocations: 35.92 kB / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.6402, allocations: 6.656 kB / 1.115 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.6405, allocations: 99.14 kB / 1.115 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.6408, allocations: 0.7037 MB / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.6408, allocations: 0 / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of Templates: time 0.003695/0.6445, allocations: 1.632 MB / 1.118 GB, free: 15.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)