Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") [: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.449/1.449, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001137/0.001137, allocations: 177.3 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.212/1.212, 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.0008658/0.0008658, allocations: 82.05 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.083e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5472, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.7172, allocations: 140.2 MB / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.7175, allocations: 88.72 kB / 1.11 GB, free: 8.301 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.008564/0.7261, allocations: 2.639 MB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7261, allocations: 4 kB / 1.112 GB, free: 5.676 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.0004994/0.7266, allocations: 414.4 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7267, allocations: 8.031 kB / 1.113 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.7267, allocations: 11.91 kB / 1.113 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7268, allocations: 173.8 kB / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.7269, allocations: 7.984 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.7269, allocations: 4 kB / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.466e-05/0.727, allocations: 20 kB / 1.113 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.7271, allocations: 62.2 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7271, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.7272, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.7272, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.7276, allocations: 281.9 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.7277, allocations: 42.5 kB / 1.113 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.7278, allocations: 25.64 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.7278, allocations: 4 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.945e-05/0.7279, allocations: 63.39 kB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.7279, allocations: 0 / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000222/0.7281, allocations: 73.59 kB / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.7282, allocations: 63.45 kB / 1.113 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.7283, allocations: 108.8 kB / 1.113 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.7283, allocations: 35.39 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.7284, allocations: 88.31 kB / 1.114 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.7284, allocations: 19.75 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.7284, allocations: 3.938 kB / 1.114 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7285, allocations: 318.8 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.7286, allocations: 16 kB / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.7286, allocations: 34.58 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.7287, allocations: 30.33 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7287, allocations: 0 / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001649/0.7289, allocations: 89.52 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.7289, allocations: 4 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.7289, allocations: 4.625 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7289, allocations: 0 / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.729, allocations: 11.98 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.729, allocations: 4 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.7291, allocations: 11.97 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.7291, allocations: 8.625 kB / 1.114 GB, free: 3.465 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 0.0001229/0.7293, allocations: 107.8 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.7293, allocations: 12.45 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.7293, allocations: 12.38 kB / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7293, allocations: 0 / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7294, allocations: 0 / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7294, allocations: 0 / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.7297, allocations: 323.7 kB / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7297, allocations: 0.8438 kB / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.7297, allocations: 11.92 kB / 1.115 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7298, allocations: 0 / 1.115 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.7298, allocations: 0 / 1.115 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.7298, allocations: 7.906 kB / 1.115 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7298, allocations: 4 kB / 1.115 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001813/0.73, allocations: 178.2 kB / 1.115 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.73, allocations: 81.02 kB / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.73, allocations: 4 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.7302, allocations: 8.547 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.7302, allocations: 3.938 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.7302, allocations: 7.984 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.238e-05/0.7303, allocations: 89.69 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002892/0.7306, allocations: 51.92 kB / 1.115 GB, free: 2.5 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0003658/0.7309, allocations: 164.8 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.7311, allocations: 55.98 kB / 1.115 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7311, allocations: 0 / 1.115 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.7312, allocations: 32.05 kB / 1.115 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.7313, allocations: 7.906 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.7317, allocations: 95.81 kB / 1.115 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.7319, allocations: 0.7006 MB / 1.116 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7319, allocations: 0 / 1.116 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of Templates: time 0.003969/0.7359, allocations: 1.65 MB / 1.118 GB, free: 15.79 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)