Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [: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.479/1.479, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001025/0.001025, allocations: 181.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.257/1.257, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0008667/0.0008668, allocations: 79.2 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.037e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5042, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.6605, allocations: 140.2 MB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.6608, allocations: 83.94 kB / 1.11 GB, free: 8.293 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.008536/0.6694, allocations: 2.637 MB / 1.112 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.6694, allocations: 0 / 1.112 GB, free: 5.672 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.000523/0.6699, allocations: 418.3 kB / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.67, allocations: 8.031 kB / 1.113 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.6701, allocations: 15.91 kB / 1.113 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.6702, allocations: 174.9 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.6702, allocations: 0 / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.6703, allocations: 4 kB / 1.113 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.718e-05/0.6704, allocations: 20 kB / 1.113 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6705, allocations: 59.94 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6705, allocations: 0.5625 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6705, allocations: 0 / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6705, allocations: 0 / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.671, allocations: 281.3 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.6711, allocations: 42.5 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.6712, allocations: 24.98 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.6712, allocations: 0.6562 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.6713, allocations: 75.39 kB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.6714, allocations: 0 / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002617/0.6716, allocations: 77.58 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.6717, allocations: 51.41 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.6718, allocations: 116.8 kB / 1.113 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.6718, allocations: 25.7 kB / 1.113 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.6719, allocations: 89.67 kB / 1.114 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.6719, allocations: 15.75 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.6719, allocations: 8 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.672, allocations: 318.8 kB / 1.114 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.6721, allocations: 16 kB / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.6721, allocations: 44.86 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.6722, allocations: 12 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6722, allocations: 4 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001655/0.6724, allocations: 101.6 kB / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.6724, allocations: 4 kB / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6724, allocations: 0 / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6724, allocations: 4 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.6725, allocations: 11.98 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6725, allocations: 0 / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.6726, allocations: 11.91 kB / 1.114 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.6726, allocations: 2.516 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 8.27e-05/0.6727, allocations: 118.9 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.6727, allocations: 7.906 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.6728, allocations: 8.375 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6728, allocations: 0 / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6728, allocations: 4 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6728, allocations: 3.984 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.6731, allocations: 315.7 kB / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6731, allocations: 4 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.6732, allocations: 11.92 kB / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6732, allocations: 4 kB / 1.115 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6732, allocations: 0 / 1.115 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6732, allocations: 3.906 kB / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6732, allocations: 0 / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001922/0.6734, allocations: 176.1 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.6735, allocations: 85.02 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.6735, allocations: 7.922 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.6736, allocations: 8 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.6736, allocations: 7.984 kB / 1.115 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.6737, allocations: 8 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.202e-05/0.6737, allocations: 87.28 kB / 1.115 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002745/0.674, allocations: 48.95 kB / 1.115 GB, free: 2.488 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.0003587/0.6744, allocations: 173.4 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.6745, allocations: 47.98 kB / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6745, allocations: 0 / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.6746, allocations: 27.94 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.6747, allocations: 13.3 kB / 1.115 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.6751, allocations: 103.8 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.6754, allocations: 0.7036 MB / 1.116 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6754, allocations: 0 / 1.116 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of Templates: time 0.003903/0.6793, allocations: 1.629 MB / 1.118 GB, free: 15.79 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)