Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [: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.504/1.504, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001038/0.001038, allocations: 177.3 kB / 366.3 MB, free: 1.984 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.25/1.25, allocations: 205.1 MB / 0.6256 GB, free: 5.875 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.0008366/0.0008366, allocations: 96.17 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.161e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5658, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.7326, allocations: 140.5 MB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.7329, allocations: 84.55 kB / 1.11 GB, free: 7.926 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.01119/0.7441, allocations: 3.263 MB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7441, allocations: 0 / 1.113 GB, free: 4.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005818/0.7447, allocations: 465.8 kB / 1.113 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.7448, allocations: 16.03 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.7448, allocations: 12.38 kB / 1.113 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.7449, allocations: 181.2 kB / 1.114 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.745, allocations: 4.672 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.745, allocations: 4 kB / 1.114 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/0.7451, allocations: 36 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.7453, allocations: 85.58 kB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.7453, allocations: 0.8438 kB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.7453, allocations: 3.906 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7453, allocations: 0 / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.746, allocations: 325.8 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7461, allocations: 58.56 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.7462, allocations: 40.86 kB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.7462, allocations: 0 / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.7463, allocations: 92.2 kB / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.7463, allocations: 0 / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000307/0.7467, allocations: 114.6 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.7467, allocations: 63.33 kB / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.7468, allocations: 135.9 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.7469, allocations: 25.7 kB / 1.115 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.747, allocations: 88.38 kB / 1.115 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.747, allocations: 23.7 kB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.747, allocations: 0 / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7471, allocations: 318.8 kB / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.7472, allocations: 32 kB / 1.115 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.7473, allocations: 64.94 kB / 1.115 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.7474, allocations: 32.48 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7474, allocations: 0 / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002175/0.7476, allocations: 122 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.7476, allocations: 4 kB / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.7476, allocations: 0 / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7476, allocations: 4.094 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.7478, allocations: 28.83 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.7478, allocations: 0 / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.7479, allocations: 16.48 kB / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.748, allocations: 4 kB / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.716e-05/0.748, allocations: 121.1 kB / 1.115 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.7481, allocations: 11.89 kB / 1.115 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.7481, allocations: 12.5 kB / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7481, allocations: 0 / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7481, allocations: 64 / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7481, allocations: 4.562 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.7486, allocations: 376.2 kB / 1.116 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7486, allocations: 0 / 1.116 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.7487, allocations: 15.98 kB / 1.116 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7487, allocations: 0 / 1.116 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.7487, allocations: 15.89 kB / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7487, allocations: 0 / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7487, allocations: 0 / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002661/0.749, allocations: 201.2 kB / 1.116 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.749, allocations: 92.91 kB / 1.116 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.7491, allocations: 4 kB / 1.116 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.7492, allocations: 8 kB / 1.116 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.7493, allocations: 15.92 kB / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.7493, allocations: 7.984 kB / 1.116 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.532e-05/0.7493, allocations: 99.83 kB / 1.116 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003075/0.7497, allocations: 47.94 kB / 1.116 GB, free: 1.004 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003365/0.75, allocations: 172.4 kB / 1.116 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.7502, allocations: 79.92 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7502, allocations: 0 / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.7503, allocations: 49.89 kB / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.7505, allocations: 17.42 kB / 1.117 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.7509, allocations: 135.3 kB / 1.117 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.7512, allocations: 0.7154 MB / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.7512, allocations: 0 / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.004269/0.7555, allocations: 2.12 MB / 1.119 GB, free: 13.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)