Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [: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.487/1.487, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0009852/0.0009852, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.207/1.207, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0008906/0.0008906, allocations: 75.28 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.428e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.5591, allocations: 116.3 MB / 0.9726 GB, free: 68.89 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.7262, allocations: 140.2 MB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.7265, allocations: 76.58 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.008625/0.7352, allocations: 2.641 MB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7352, allocations: 4 kB / 1.112 GB, free: 5.613 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.000496/0.7357, allocations: 418.4 kB / 1.113 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7357, allocations: 8.031 kB / 1.113 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.7358, allocations: 7.906 kB / 1.113 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.7359, allocations: 167 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.7359, allocations: 4.938 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.736, allocations: 8 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.087e-05/0.7361, allocations: 27.92 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.7362, allocations: 57.66 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7362, allocations: 0 / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7362, allocations: 4 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7362, allocations: 4 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.7367, allocations: 273.3 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.7368, allocations: 34.58 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.7368, allocations: 32.92 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.7369, allocations: 8.906 kB / 1.113 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.306e-05/0.7369, allocations: 59.41 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7369, allocations: 0 / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002254/0.7372, allocations: 81.58 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.7372, allocations: 55.47 kB / 1.113 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.7373, allocations: 119.7 kB / 1.113 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.7373, allocations: 29.7 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.7374, allocations: 80.33 kB / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.7374, allocations: 27.67 kB / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.7374, allocations: 0 / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.7375, allocations: 316 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.7376, allocations: 19.98 kB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.7376, allocations: 38.52 kB / 1.114 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.7377, allocations: 29.62 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7377, allocations: 0 / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001609/0.7379, allocations: 85.53 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7379, allocations: 4 kB / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.7379, allocations: 7.984 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.7379, allocations: 0 / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.738, allocations: 12 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.7381, allocations: 8.062 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.7381, allocations: 11.89 kB / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.7382, allocations: 6.25 kB / 1.114 GB, free: 3.398 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.672e-05/0.7382, allocations: 104.9 kB / 1.114 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.7383, allocations: 7.906 kB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.7383, allocations: 12.38 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7383, allocations: 3.984 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7383, allocations: 4 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7383, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.7386, allocations: 319 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7387, allocations: 0 / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-05/0.7387, allocations: 4 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7387, allocations: 0 / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7387, allocations: 3.984 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7387, allocations: 7.844 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7388, allocations: 8 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001805/0.7389, allocations: 173.8 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.739, allocations: 85.02 kB / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.739, allocations: 0 / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.7391, allocations: 7.938 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.7392, allocations: 3.984 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.7392, allocations: 8 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.401e-05/0.7392, allocations: 99.27 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002852/0.7395, allocations: 39.94 kB / 1.115 GB, free: 2.438 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.0003431/0.7399, allocations: 163.9 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.74, allocations: 55.97 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.74, allocations: 4.125 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.7401, allocations: 31.94 kB / 1.115 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.7403, allocations: 11.89 kB / 1.115 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.7406, allocations: 91.81 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.7409, allocations: 0.7036 MB / 1.116 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7409, allocations: 0 / 1.116 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.003964/0.7449, allocations: 1.641 MB / 1.118 GB, free: 15.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)