Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.251/2.251, allocations: 284.9 MB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 181.3 kB / 360.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.2 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001729/0.001728, allocations: 104.5 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.06e-05/1.076e-05, allocations: 4 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.633, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.8674, allocations: 139 MB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.8678, allocations: 75.95 kB / 1.099 GB, free: 1.668 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01427/0.882, allocations: 2.645 MB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.8821, allocations: 2.406 kB / 1.101 GB, free: 15.08 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.0006854/0.8828, allocations: 420 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8828, allocations: 8.531 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.8829, allocations: 7.906 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.8831, allocations: 169.7 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.8831, allocations: 6.5 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.8832, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.8833, allocations: 24.48 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.8835, allocations: 60.55 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8835, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.8835, allocations: 0.5 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8835, allocations: 1.469 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.8841, allocations: 274.3 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.8842, allocations: 41.28 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.8843, allocations: 28.97 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.8844, allocations: 4.062 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.8845, allocations: 69.77 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.8846, allocations: 0.5938 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.8849, allocations: 78.25 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.8849, allocations: 51.97 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.885, allocations: 113.4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.8851, allocations: 25.7 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.8851, allocations: 89 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.8852, allocations: 24.31 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-06/0.8852, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8853, allocations: 325.6 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.8854, allocations: 12 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.471e-05/0.8855, allocations: 38.58 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.8856, allocations: 21.48 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.8856, allocations: 4 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002682/0.8859, allocations: 99.38 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8859, allocations: 4.625 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.886, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.886, allocations: 7.75 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.8862, allocations: 16.5 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.8862, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.8863, allocations: 7.906 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.8863, allocations: 8.062 kB / 1.103 GB, free: 12.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 0.000102/0.8865, allocations: 112.7 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.8865, allocations: 9.469 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.8865, allocations: 12.36 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8866, allocations: 0.7031 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8866, allocations: 4 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8866, allocations: 0 / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.8871, allocations: 315 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8871, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.8872, allocations: 7.938 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8872, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.8872, allocations: 3.984 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8872, allocations: 3.906 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8873, allocations: 0.7031 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002686/0.8875, allocations: 186.7 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.8876, allocations: 81.02 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.8876, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.8878, allocations: 11.92 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.8878, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.8879, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.505e-05/0.8879, allocations: 101.5 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004551/0.8884, allocations: 43.94 kB / 1.104 GB, free: 11.93 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.0005012/0.8889, allocations: 176 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.8892, allocations: 48 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8892, allocations: 0 / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.8893, allocations: 31.92 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.8895, allocations: 20.2 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.89, allocations: 96.17 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.8903, allocations: 0.7036 MB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.8903, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of Templates: time 0.007036/0.8974, allocations: 1.633 MB / 1.107 GB, free: 9.242 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)