Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [: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.463/1.463, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001012/0.001012, allocations: 181.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.178/1.178, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009064/0.0009064, allocations: 94.06 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.132e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5005, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.664, allocations: 140.2 MB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.6643, allocations: 83.94 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.008476/0.6728, allocations: 2.633 MB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6728, allocations: 4 kB / 1.112 GB, free: 5.621 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.0004926/0.6733, allocations: 418.4 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6733, allocations: 12.03 kB / 1.113 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.6734, allocations: 11.91 kB / 1.113 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6735, allocations: 171 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.6736, allocations: 5.484 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.6736, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.555e-05/0.6737, allocations: 27.94 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6738, allocations: 53.67 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.6738, allocations: 0 / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.6739, allocations: 3.984 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.6739, allocations: 4 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.6744, allocations: 277.3 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.6744, allocations: 42.5 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.6745, allocations: 24.98 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.6745, allocations: 0 / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.595e-05/0.6746, allocations: 67.39 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.6746, allocations: 0 / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000224/0.6749, allocations: 80.55 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.6749, allocations: 63.39 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.675, allocations: 111 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.675, allocations: 26.27 kB / 1.113 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.6751, allocations: 84.31 kB / 1.114 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.6751, allocations: 19.75 kB / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.6751, allocations: 3.938 kB / 1.114 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6752, allocations: 322.8 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.6753, allocations: 19.94 kB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.281e-05/0.6754, allocations: 40.08 kB / 1.114 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.6754, allocations: 19.98 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6754, allocations: 0 / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001627/0.6756, allocations: 93.52 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6756, allocations: 8 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6756, allocations: 0 / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6756, allocations: 64 / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.6758, allocations: 19.98 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6758, allocations: 0 / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.6759, allocations: 7.906 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.6759, allocations: 4 kB / 1.114 GB, free: 3.406 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.99e-05/0.676, allocations: 110.5 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.676, allocations: 7.891 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.676, allocations: 16.38 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.676, allocations: 0 / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.676, allocations: 0 / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.676, allocations: 1.125 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.6764, allocations: 319 kB / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.6764, allocations: 0 / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.6764, allocations: 7.984 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6764, allocations: 3.938 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.6764, allocations: 8 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6765, allocations: 3.906 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6765, allocations: 0 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001729/0.6766, allocations: 176.7 kB / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.6767, allocations: 85.02 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.6767, allocations: 0 / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.6768, allocations: 15.98 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.6769, allocations: 12.97 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6769, allocations: 3.984 kB / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.805e-05/0.6769, allocations: 87.28 kB / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000271/0.6772, allocations: 43.92 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.0003426/0.6776, allocations: 182.1 kB / 1.115 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.6777, allocations: 44 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6777, allocations: 0 / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.6778, allocations: 31.92 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.0001997/0.678, allocations: 15.86 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.0002927/0.6783, 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.0002812/0.6786, allocations: 0.7037 MB / 1.116 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6786, allocations: 4 kB / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of Templates: time 0.003795/0.6824, allocations: 1.635 MB / 1.118 GB, free: 15.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)