Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [: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.0.1-maint.8.0.x/package.mo): time 1.569/1.569, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001175/0.001175, allocations: 191.5 kB / 361.1 MB, free: 7.086 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.244/1.244, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009492/0.0009491, allocations: 80.61 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.486e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6605, allocations: 115.3 MB / 0.9637 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.8442, allocations: 139.2 MB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.8445, allocations: 80.66 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.009053/0.8536, allocations: 2.647 MB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.8536, allocations: 1.219 kB / 1.102 GB, free: 14.14 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.0005754/0.8542, allocations: 412 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8542, allocations: 10.12 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.8543, allocations: 7.906 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.8544, allocations: 174.9 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.8545, allocations: 7.984 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.8545, allocations: 1.312 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.508e-05/0.8546, allocations: 20.69 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8548, allocations: 59.3 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8548, allocations: 0.8438 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.8548, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.8548, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.8555, allocations: 281.5 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.8556, allocations: 47.53 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.8557, allocations: 21.52 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.8557, allocations: 5.406 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.8559, allocations: 63.39 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.827e-06/0.8559, allocations: 4.516 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003558/0.8562, allocations: 82.09 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.8563, allocations: 52.72 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.8564, allocations: 116.6 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.8565, allocations: 25.7 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.8566, allocations: 92.84 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.8566, allocations: 16.28 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.8566, allocations: 4.469 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.8568, allocations: 319.4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.8569, allocations: 21.75 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.857, allocations: 37.42 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.8571, allocations: 24.58 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.8571, allocations: 4 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001727/0.8572, allocations: 89.52 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8573, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8573, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8573, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.8574, allocations: 11.98 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8574, allocations: 3.938 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.8575, allocations: 15.97 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.8575, allocations: 4 kB / 1.104 GB, free: 11.94 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.19e-05/0.8576, allocations: 105 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.8577, allocations: 11.89 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.8577, allocations: 4.375 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8577, allocations: 4 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.8577, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8577, allocations: 1.75 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.8581, allocations: 327 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8581, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.8582, allocations: 7.984 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8582, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8582, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8582, allocations: 3.906 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8582, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002034/0.8584, allocations: 181.2 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.8585, allocations: 85.02 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.8585, allocations: 4 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8586, allocations: 7.984 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.8587, allocations: 4.625 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.8587, allocations: 7.984 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.324e-05/0.8588, allocations: 87.28 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003208/0.8591, allocations: 55.86 kB / 1.105 GB, free: 10.98 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.0004311/0.8595, allocations: 170.1 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.8597, allocations: 51.94 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8597, allocations: 0 / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.8598, allocations: 27.98 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.86, allocations: 12.03 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.8604, allocations: 97.88 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.8607, allocations: 0.7005 MB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.8607, allocations: 0 / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of Templates: time 0.004311/0.865, allocations: 1.635 MB / 1.108 GB, free: 8.289 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)