Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [: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.466/1.466, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001208/0.001208, allocations: 177.3 kB / 366.3 MB, free: 1.973 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.232/1.232, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008599/0.00086, allocations: 88.62 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.943e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5108, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.6603, allocations: 140.5 MB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.6606, allocations: 79.89 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.00948/0.6701, allocations: 2.902 MB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6701, allocations: 1.594 kB / 1.113 GB, free: 5.039 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005069/0.6706, allocations: 445.6 kB / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6707, allocations: 8.031 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.6707, allocations: 7.906 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.6709, allocations: 174.9 kB / 1.113 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.6709, allocations: 8 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.6709, allocations: 4 kB / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.051e-05/0.671, allocations: 39.98 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.6712, allocations: 65.66 kB / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.6712, allocations: 0 / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.6712, allocations: 4 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.6712, allocations: 3.906 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.6717, allocations: 305.2 kB / 1.114 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.6718, allocations: 55.22 kB / 1.114 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.6719, allocations: 28.86 kB / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.6719, allocations: 4 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.672, allocations: 79.38 kB / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.672, allocations: 0 / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002613/0.6723, allocations: 100.3 kB / 1.114 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.6724, allocations: 59.41 kB / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.6724, allocations: 112.6 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.6725, allocations: 30.73 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.6725, allocations: 88.03 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.6725, allocations: 19.95 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.6726, allocations: 0 / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6727, allocations: 322.8 kB / 1.115 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.6727, allocations: 20 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.6728, allocations: 56.28 kB / 1.115 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.6728, allocations: 23.98 kB / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6729, allocations: 4 kB / 1.115 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001676/0.673, allocations: 105.5 kB / 1.115 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.673, allocations: 13.66 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6731, allocations: 0.9375 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.6731, allocations: 0 / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.6732, allocations: 15.98 kB / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6732, allocations: 4 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.6733, allocations: 11.84 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.6733, allocations: 7.984 kB / 1.115 GB, free: 2.637 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 (13): * Single equations (assignments): 13 * 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.195e-05/0.6734, allocations: 113.1 kB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.6734, allocations: 7.906 kB / 1.115 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.6734, allocations: 8.375 kB / 1.115 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.6735, allocations: 0 / 1.115 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6735, allocations: 4.844 kB / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.6735, allocations: 0 / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.6738, allocations: 351 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6739, allocations: 7.906 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.6739, allocations: 8 kB / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6739, allocations: 0 / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.6739, allocations: 3.984 kB / 1.115 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.674, allocations: 0 / 1.115 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.674, allocations: 0 / 1.115 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002426/0.6742, allocations: 203.5 kB / 1.115 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.6743, allocations: 85.77 kB / 1.116 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.6743, allocations: 4 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.6744, allocations: 8.031 kB / 1.116 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.6745, allocations: 11.89 kB / 1.116 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.6745, allocations: 3.984 kB / 1.116 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.271e-05/0.6746, allocations: 99.22 kB / 1.116 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003111/0.6749, allocations: 51.92 kB / 1.116 GB, free: 1.598 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 (8): * Single equations (assignments): 4 * 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.0003745/0.6753, allocations: 167.5 kB / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.6754, allocations: 67.92 kB / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6754, allocations: 3.938 kB / 1.116 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.6755, allocations: 32 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.6757, allocations: 12.69 kB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.6761, allocations: 115.4 kB / 1.116 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.6764, allocations: 0.7081 MB / 1.117 GB, free: 472 kB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6764, allocations: 0 / 1.117 GB, free: 472 kB / 0.7136 GB Notification: Performance of Templates: time 0.004285/0.6807, allocations: 1.908 MB / 1.119 GB, free: 14.59 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)