Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [: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.47/1.47, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.00104/0.001041, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.251/1.251, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008137/0.0008136, allocations: 88.77 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.564e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4851, allocations: 116.3 MB / 0.9726 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.6471, allocations: 140.2 MB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.6474, allocations: 88.47 kB / 1.11 GB, free: 8.246 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.009163/0.6566, allocations: 2.645 MB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.6566, allocations: 0 / 1.112 GB, free: 5.617 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.0005095/0.6571, allocations: 419 kB / 1.113 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6572, allocations: 8.031 kB / 1.113 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.6572, allocations: 7.906 kB / 1.113 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6574, allocations: 172.1 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.6574, allocations: 0.9375 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.6574, allocations: 11.97 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.37e-05/0.6575, allocations: 23.94 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.6577, allocations: 57.67 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6577, allocations: 0 / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6577, allocations: 0 / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6577, allocations: 0 / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.6582, allocations: 281.3 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.6583, allocations: 42.5 kB / 1.113 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.6583, allocations: 24.98 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.6583, allocations: 4.75 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.6585, allocations: 67.39 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.6585, allocations: 0 / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.00028/0.6588, allocations: 77.66 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6588, allocations: 51.41 kB / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.6589, allocations: 115.3 kB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.6589, allocations: 25.7 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.659, allocations: 96.31 kB / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.659, allocations: 12.69 kB / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.659, allocations: 7.938 kB / 1.114 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6592, allocations: 318.8 kB / 1.114 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.6592, allocations: 23.94 kB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.6593, allocations: 34.58 kB / 1.114 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.542e-05/0.6593, allocations: 21.78 kB / 1.114 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6593, allocations: 8 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000163/0.6595, allocations: 89.52 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6595, allocations: 4 kB / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6596, allocations: 0 / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.6596, allocations: 4.75 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.6597, allocations: 11.98 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.6597, allocations: 0 / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.6598, allocations: 11.97 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.6598, allocations: 4 kB / 1.114 GB, free: 3.41 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.669e-05/0.6599, allocations: 112.9 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.6599, allocations: 7.906 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.66, allocations: 8.359 kB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.66, allocations: 0.5625 kB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.66, allocations: 4 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.66, allocations: 0 / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.6604, allocations: 323 kB / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6604, allocations: 0 / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.6604, allocations: 7.984 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6605, allocations: 9.156 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.6605, allocations: 0 / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6605, allocations: 3.906 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6605, allocations: 4 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001901/0.6607, allocations: 180.7 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.6607, allocations: 81.02 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.6608, allocations: 0 / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.6609, allocations: 7.984 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.6609, allocations: 11.92 kB / 1.115 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.6609, allocations: 7.984 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.421e-05/0.661, allocations: 87.28 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003052/0.6613, allocations: 51.92 kB / 1.115 GB, free: 2.434 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.0003567/0.6617, allocations: 173.7 kB / 1.115 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.6618, allocations: 48 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6618, allocations: 1.125 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.6619, allocations: 32.05 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.6621, allocations: 12.84 kB / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.6624, allocations: 95.81 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.6627, allocations: 0.7024 MB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.6628, allocations: 0 / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of Templates: time 0.004219/0.667, allocations: 1.627 MB / 1.118 GB, free: 15.74 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)