Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") [: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.448/1.448, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009995/0.0009995, allocations: 173.3 kB / 361.1 MB, free: 7.098 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.224/1.224, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0009525/0.0009525, allocations: 89.58 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.207e-06, allocations: 4 kB / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5902, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.7629, allocations: 139.2 MB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.7633, allocations: 80.75 kB / 1.1 GB, free: 0.7383 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.009133/0.7724, allocations: 2.641 MB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.7724, allocations: 0.5938 kB / 1.102 GB, free: 14.16 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.0005071/0.773, allocations: 420.3 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.773, allocations: 9.062 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.7731, allocations: 11.89 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.7732, allocations: 172.7 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.7732, allocations: 1.406 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.7733, allocations: 4 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.213e-05/0.7733, allocations: 20 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.7735, allocations: 59.08 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7735, allocations: 2.062 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7735, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7735, allocations: 3.984 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.774, allocations: 283.7 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.803e-05/0.7741, allocations: 35.64 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.7741, allocations: 25.55 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.7742, allocations: 2.453 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.56e-05/0.7743, allocations: 71.39 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.7743, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002422/0.7745, allocations: 80.42 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.7746, allocations: 55.97 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.7747, allocations: 115.7 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.7747, allocations: 25.7 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.7747, allocations: 84.33 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.7748, allocations: 20.44 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.7748, allocations: 4 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7749, allocations: 319.4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.7749, allocations: 16.69 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.775, allocations: 43.12 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.613e-05/0.7751, allocations: 21.36 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7751, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001649/0.7753, allocations: 90.88 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7753, allocations: 4 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7753, allocations: 3.016 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7753, allocations: 4 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.7754, allocations: 13.17 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7755, allocations: 0 / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.7755, allocations: 19.95 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.7756, allocations: 3.938 kB / 1.104 GB, free: 11.97 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.111e-05/0.7756, allocations: 105.9 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.7757, allocations: 7.906 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.7757, allocations: 8.375 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.7757, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7757, allocations: 6.062 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7757, allocations: 4 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.776, allocations: 324.5 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7761, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.7761, allocations: 4 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7761, allocations: 4.609 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7761, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7761, allocations: 3.906 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7762, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001735/0.7763, allocations: 179.4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.7764, allocations: 85 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.7764, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.7765, allocations: 10.31 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.7766, allocations: 7.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.7766, allocations: 8 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.589e-05/0.7767, allocations: 92.7 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003072/0.777, allocations: 47.92 kB / 1.105 GB, free: 11.01 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.0003952/0.7774, allocations: 175.7 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.7775, allocations: 47.98 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.7775, allocations: 3.938 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/0.7776, allocations: 28.12 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.7778, allocations: 11.91 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.7782, allocations: 97.17 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.7785, allocations: 0.7083 MB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7785, allocations: 0 / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.004124/0.7827, allocations: 1.643 MB / 1.108 GB, free: 8.305 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)