Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [: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.481/1.481, allocations: 289.8 MB / 297 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.001105/0.001105, allocations: 177.3 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.192/1.192, allocations: 205.1 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.001049/0.001049, allocations: 90.77 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.796e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5621, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.7194, allocations: 140.2 MB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.7197, allocations: 87.92 kB / 1.11 GB, free: 8.309 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.008962/0.7286, allocations: 2.641 MB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7287, allocations: 0 / 1.112 GB, free: 5.68 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.0004891/0.7292, allocations: 415.2 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7292, allocations: 8.875 kB / 1.113 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.7293, allocations: 11.91 kB / 1.113 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.7294, allocations: 171 kB / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.7295, allocations: 7.984 kB / 1.113 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.7295, allocations: 4 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.07e-05/0.7296, allocations: 20 kB / 1.113 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.7297, allocations: 57.67 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.7297, allocations: 0 / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7297, allocations: 0 / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7297, allocations: 0.6562 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.7302, allocations: 289.2 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.7303, allocations: 34.58 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.7304, allocations: 24.98 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.7304, allocations: 0 / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.7305, allocations: 73.34 kB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.7305, allocations: 0 / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002271/0.7307, allocations: 82.08 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.7308, allocations: 55.48 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.7309, allocations: 108.9 kB / 1.113 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.868e-05/0.7309, allocations: 25.7 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.731, allocations: 92.31 kB / 1.114 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.731, allocations: 19.75 kB / 1.114 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.731, allocations: 4.938 kB / 1.114 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7312, allocations: 322.8 kB / 1.114 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.7312, allocations: 16 kB / 1.114 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.7313, allocations: 40.86 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.7313, allocations: 16 kB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7314, allocations: 4 kB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001775/0.7315, allocations: 93.52 kB / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.7316, allocations: 4 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7316, allocations: 0 / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7316, allocations: 4 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.7317, allocations: 16.86 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.7317, allocations: 0 / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.7318, allocations: 7.906 kB / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.7318, allocations: 16.05 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 7.948e-05/0.7319, allocations: 105 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.7319, allocations: 7.906 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.732, allocations: 8.375 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.732, allocations: 0 / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.732, allocations: 4 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.732, allocations: 0 / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.7323, allocations: 330.3 kB / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7323, allocations: 0 / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.7324, allocations: 7.984 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7324, allocations: 4 kB / 1.115 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.7324, allocations: 0 / 1.115 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7324, allocations: 3.906 kB / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7324, allocations: 0 / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001892/0.7326, allocations: 180.7 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.7327, allocations: 81.02 kB / 1.115 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.7327, allocations: 3.984 kB / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.7328, allocations: 7.938 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.7329, allocations: 7.984 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7329, allocations: 7.938 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.315e-05/0.733, allocations: 87.28 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002866/0.7333, 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.0003606/0.7336, allocations: 168.5 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.7338, allocations: 59.91 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7338, allocations: 0 / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.7339, allocations: 25.31 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.734, allocations: 12.03 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.0003381/0.7344, allocations: 97.61 kB / 1.115 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.7347, allocations: 0.7074 MB / 1.116 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.7347, allocations: 0 / 1.116 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of Templates: time 0.004393/0.7391, allocations: 1.634 MB / 1.118 GB, free: 15.79 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)