Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [: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.535/1.535, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001311/0.001311, allocations: 181.3 kB / 361.1 MB, free: 7.062 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.274/1.274, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008191/0.0008191, allocations: 82.59 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.268e-06/9.288e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5469, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.7162, allocations: 139.2 MB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.7165, allocations: 76.47 kB / 1.1 GB, free: 0.6719 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.00969/0.7262, allocations: 2.648 MB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7263, allocations: 4 kB / 1.102 GB, free: 14.09 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.0006003/0.7269, allocations: 422.2 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.727, allocations: 12.53 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.727, allocations: 3.906 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.7272, allocations: 167 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.7272, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.7272, allocations: 4.562 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001517/0.7274, allocations: 24.67 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.7275, allocations: 57.61 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7275, allocations: 0.75 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.7276, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.7276, allocations: 5.703 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.7281, allocations: 280 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.7282, allocations: 34.58 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.7282, allocations: 29.53 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.7283, allocations: 1.328 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.662e-05/0.7284, allocations: 68.2 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.7284, allocations: 0.7188 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002503/0.7286, allocations: 77.59 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.7287, allocations: 55.91 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.7288, allocations: 113.4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.7288, allocations: 26.7 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.7289, allocations: 84.31 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.7289, allocations: 27.53 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.7289, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.729, allocations: 318.8 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.7291, allocations: 15.98 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.7291, allocations: 36.66 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.7292, allocations: 31.98 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7292, allocations: 0.9062 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001831/0.7294, allocations: 86.08 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.7294, allocations: 9.031 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.7295, allocations: 4.062 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7295, allocations: 1.625 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.7296, allocations: 15.94 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.7296, allocations: 7.984 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.7297, allocations: 7.906 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.7297, allocations: 7.906 kB / 1.104 GB, free: 11.89 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.587e-05/0.7298, allocations: 109.8 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.7298, allocations: 3.906 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.7299, allocations: 16.36 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7299, allocations: 0 / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7299, allocations: 2.156 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7299, allocations: 0 / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.7303, allocations: 323 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7303, allocations: 0.5625 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.7303, allocations: 8 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7303, allocations: 1.125 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.7304, allocations: 3.984 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.7304, allocations: 7.906 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7304, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001942/0.7306, allocations: 175.4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.7306, allocations: 85.02 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.7307, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.7308, allocations: 11.94 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.7308, allocations: 10.39 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7308, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.118e-05/0.7309, allocations: 95.27 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000324/0.7312, allocations: 43.94 kB / 1.105 GB, free: 10.94 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.0004075/0.7316, allocations: 170.5 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.7318, allocations: 55.94 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7318, allocations: 1.406 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.7319, allocations: 24 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.7321, allocations: 13.81 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.7325, allocations: 104.5 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.7328, allocations: 0.7045 MB / 1.106 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of SimCode: time 5.92e-07/0.7328, allocations: 0 / 1.106 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.004482/0.7372, allocations: 1.636 MB / 1.108 GB, free: 8.242 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)