Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.319/2.319, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001611/0.00161, allocations: 177.3 kB / 360.4 MB, free: 7.527 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.856/1.856, allocations: 205.1 MB / 0.6188 GB, free: 13.19 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.00137/0.001369, allocations: 98.27 kB / 0.7318 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.667e-06, allocations: 0 / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6074, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.8433, allocations: 139 MB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.8436, allocations: 80.94 kB / 1.099 GB, free: 1.699 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.01381/0.8575, allocations: 2.642 MB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8575, allocations: 4 kB / 1.101 GB, free: 15.11 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.0006405/0.8582, allocations: 415.5 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.8582, allocations: 13.34 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.8583, allocations: 8.516 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.8585, allocations: 172.1 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.8585, allocations: 3.984 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.8586, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001243/0.8587, allocations: 20.84 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.8589, allocations: 55.78 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.8589, allocations: 5.922 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.8589, allocations: 4.688 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8589, allocations: 4 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.8596, allocations: 276.1 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.8597, allocations: 42.56 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.8598, allocations: 24.98 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.8599, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.86, allocations: 67.39 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.86, allocations: 3.938 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003207/0.8604, allocations: 77.66 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.8604, allocations: 55.41 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8605, allocations: 118.3 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.8606, allocations: 25.7 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.8606, allocations: 84.31 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.8607, allocations: 23.69 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.8607, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8608, allocations: 322.8 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.8609, allocations: 12 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.861, allocations: 42.58 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.8611, allocations: 19.98 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8611, allocations: 0 / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002649/0.8614, allocations: 93.52 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8614, allocations: 8 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8615, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8615, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.8617, allocations: 25.11 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8617, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.8618, allocations: 7.906 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.8619, allocations: 7.516 kB / 1.103 GB, free: 12.91 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 9.68e-05/0.862, allocations: 108.8 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.862, allocations: 7.891 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.862, allocations: 12.38 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8621, allocations: 4 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8621, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.8621, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.8626, allocations: 323 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8626, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.8627, allocations: 9.578 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8627, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.8627, allocations: 4 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8628, allocations: 3.906 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8628, allocations: 5.312 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002715/0.863, allocations: 179.4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.8631, allocations: 85.02 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.8631, allocations: 0 / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.8633, allocations: 11.92 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.8634, allocations: 4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.8634, allocations: 11.98 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.966e-05/0.8635, allocations: 90.02 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000454/0.8639, allocations: 47.92 kB / 1.104 GB, free: 11.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.0004696/0.8644, allocations: 171.1 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.8646, allocations: 51.94 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8647, allocations: 4 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.8648, allocations: 27.98 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.865, allocations: 7.906 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.8654, allocations: 97.77 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.8658, allocations: 0.7048 MB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.8658, allocations: 0 / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of Templates: time 0.005987/0.8718, allocations: 1.631 MB / 1.107 GB, free: 9.258 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)