Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [: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.462/1.462, 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.001075/0.001075, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.179/1.179, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008316/0.0008318, allocations: 80.5 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/6.041e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4783, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.6246, allocations: 140.6 MB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.6249, allocations: 87.88 kB / 1.11 GB, free: 7.859 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.01151/0.6364, allocations: 3.486 MB / 1.113 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.6364, allocations: 4 kB / 1.113 GB, free: 4.379 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006325/0.6371, allocations: 0.5289 MB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6371, allocations: 8.031 kB / 1.114 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.6371, allocations: 7.906 kB / 1.114 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.6374, allocations: 178.9 kB / 1.114 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6374, allocations: 4 kB / 1.114 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.6374, allocations: 8 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/0.6376, allocations: 51.89 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.6377, allocations: 93.56 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.6378, allocations: 1.406 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.6378, allocations: 4 kB / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6378, allocations: 0 / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.6386, allocations: 373.1 kB / 1.115 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.6387, allocations: 62.56 kB / 1.115 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.6388, allocations: 44.84 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.6388, allocations: 0 / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.639, allocations: 107.2 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.525e-06/0.639, allocations: 112 / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003209/0.6393, allocations: 122.8 kB / 1.115 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.6393, allocations: 55.41 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.6394, allocations: 129.1 kB / 1.115 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6395, allocations: 25.7 kB / 1.115 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.6395, allocations: 96.27 kB / 1.115 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.6395, allocations: 19.72 kB / 1.115 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.6396, allocations: 0 / 1.115 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6397, allocations: 326.8 kB / 1.116 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.6397, allocations: 23.98 kB / 1.116 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.6398, allocations: 57.16 kB / 1.116 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.6399, allocations: 27.98 kB / 1.116 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6399, allocations: 6.438 kB / 1.116 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001915/0.6401, allocations: 113.4 kB / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.6401, allocations: 11.91 kB / 1.116 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6401, allocations: 96 / 1.116 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6402, allocations: 7.984 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.6403, allocations: 28.05 kB / 1.116 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6403, allocations: 5.641 kB / 1.116 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.6404, allocations: 15.92 kB / 1.116 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.6405, allocations: 4 kB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.907e-05/0.6406, allocations: 116.5 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.6406, allocations: 11.91 kB / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.6406, allocations: 12.5 kB / 1.116 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6406, allocations: 4 kB / 1.116 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6406, allocations: 0 / 1.116 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6406, allocations: 0 / 1.116 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.6411, allocations: 399 kB / 1.116 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6411, allocations: 0 / 1.116 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.813e-05/0.6412, allocations: 23.92 kB / 1.116 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6412, allocations: 4 kB / 1.116 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6413, allocations: 3.984 kB / 1.116 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6413, allocations: 4.844 kB / 1.116 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6413, allocations: 0 / 1.116 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002726/0.6416, allocations: 212.3 kB / 1.117 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.6416, allocations: 92.91 kB / 1.117 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.6417, allocations: 0 / 1.117 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.6419, allocations: 39.91 kB / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.642, allocations: 7.984 kB / 1.117 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.642, allocations: 8 kB / 1.117 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.591e-05/0.642, allocations: 104.7 kB / 1.117 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003214/0.6424, allocations: 59.92 kB / 1.117 GB, free: 484 kB / 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003517/0.6427, allocations: 162.6 kB / 1.117 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.6429, allocations: 83.92 kB / 1.117 GB, free: 244 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6429, allocations: 3.938 kB / 1.117 GB, free: 240 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.216e-05/0.643, allocations: 51.98 kB / 1.117 GB, free: 188 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.6432, allocations: 10.44 kB / 1.117 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.6436, allocations: 143.6 kB / 1.117 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.644, allocations: 0.7233 MB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.644, allocations: 0 / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.004435/0.6484, allocations: 2.167 MB / 1.12 GB, free: 13.14 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)