Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.395/2.395, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 177.2 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001203, allocations: 95.72 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.151e-05/1.169e-05, allocations: 4 kB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.609, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.8263, allocations: 139 MB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.8266, allocations: 79.55 kB / 1.099 GB, free: 1.707 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01428/0.8409, allocations: 2.651 MB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.841, allocations: 0 / 1.101 GB, free: 15.11 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.000728/0.8417, allocations: 421.3 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.8418, allocations: 8.531 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.8419, allocations: 8.75 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.842, allocations: 175 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.842, allocations: 0.5625 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.8421, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001225/0.8422, allocations: 20.5 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.8424, allocations: 61.94 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8424, allocations: 1.469 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.8424, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.8424, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.8431, allocations: 279.5 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.8432, allocations: 39.12 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.8433, allocations: 25.52 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.8433, allocations: 0.5312 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.8435, allocations: 69.14 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.8435, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003156/0.8438, allocations: 81.59 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.8439, allocations: 59.92 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.844, allocations: 109.4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.844, allocations: 26.23 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.8441, allocations: 90.06 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.8441, allocations: 19.69 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.8442, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8443, allocations: 323.4 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.8444, allocations: 12 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.8445, allocations: 42.55 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.8446, allocations: 20.95 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8446, allocations: 0.5 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002646/0.8449, allocations: 94.02 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8449, allocations: 8.062 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.8449, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8449, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.8451, allocations: 25.89 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.8451, allocations: 2 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.8453, allocations: 7.906 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.8453, allocations: 4 kB / 1.103 GB, free: 12.93 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.0001001/0.8454, allocations: 116.8 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.8454, allocations: 7.906 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.8455, allocations: 8.375 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8455, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8455, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8455, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.846, allocations: 319 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.846, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.8461, allocations: 11.98 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.8461, allocations: 4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.8462, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8462, allocations: 3.906 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8462, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002666/0.8465, allocations: 181 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.8465, allocations: 81.02 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.8466, allocations: 7.938 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.8468, allocations: 11.92 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.8468, allocations: 4.656 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.8468, allocations: 3.984 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.595e-05/0.8469, allocations: 91.28 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004543/0.8474, allocations: 51.92 kB / 1.104 GB, free: 11.95 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.0004759/0.8479, allocations: 168.9 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.8481, allocations: 59.92 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8481, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.8482, allocations: 25.56 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.8485, allocations: 4.562 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.8489, allocations: 102 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.8493, allocations: 0.7052 MB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.8494, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.006101/0.8555, allocations: 1.638 MB / 1.107 GB, free: 9.27 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)