Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [: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.314/2.314, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001714/0.001713, allocations: 185.3 kB / 360.4 MB, free: 7.477 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.776/1.776, allocations: 205.2 MB / 0.6188 GB, free: 12.39 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.001225/0.001224, allocations: 87.28 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.048e-05, allocations: 4 kB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6342, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.8593, allocations: 139 MB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.8597, allocations: 82.16 kB / 1.099 GB, free: 1.594 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.01417/0.8739, allocations: 2.649 MB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.8739, allocations: 0 / 1.101 GB, free: 15.01 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.0007928/0.8747, allocations: 420.8 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8748, allocations: 10.41 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.8749, allocations: 7.906 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.8751, allocations: 174.9 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.8751, allocations: 0.7031 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.8752, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001209/0.8753, allocations: 20.66 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8755, allocations: 54.17 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8755, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.8755, allocations: 5.469 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8755, allocations: 0.5156 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.8762, allocations: 286.2 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.8763, allocations: 34.58 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.8764, allocations: 24.98 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.8764, allocations: 1.469 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.8766, allocations: 68.64 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.8766, allocations: 0.6562 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003242/0.8769, allocations: 86.08 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.877, allocations: 55.91 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.8771, allocations: 116.4 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.8771, allocations: 25.7 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.8772, allocations: 88.95 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.8773, allocations: 17.75 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.8773, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8774, allocations: 322.8 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.8775, allocations: 12 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.6e-05/0.8776, allocations: 47.92 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.8777, allocations: 23.98 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8777, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002741/0.878, allocations: 93.52 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8781, allocations: 8.938 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8781, allocations: 48 / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.8781, allocations: 3.984 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.8783, allocations: 23.98 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8783, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.8784, allocations: 11.91 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.8785, allocations: 2.344 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.861e-05/0.8786, allocations: 110.4 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.8786, allocations: 9.031 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.8787, allocations: 12.36 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8787, allocations: 8 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8787, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8787, allocations: 3.938 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.8792, allocations: 315 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8792, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.8793, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.8793, allocations: 3.984 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.8793, allocations: 1.938 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8793, allocations: 7.906 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8794, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002686/0.8796, allocations: 179.4 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.8797, allocations: 81.02 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.8797, allocations: 3.938 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.8799, allocations: 11.98 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.88, allocations: 6.156 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.88, allocations: 8 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.256e-05/0.8801, allocations: 91.27 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004689/0.8805, allocations: 43.94 kB / 1.104 GB, free: 11.84 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.0004916/0.881, allocations: 173.3 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.8813, allocations: 55.92 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8813, allocations: 0 / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.8814, allocations: 31.92 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.8817, allocations: 18.47 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.8821, allocations: 93.83 kB / 1.104 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.8825, allocations: 0.7036 MB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.8825, allocations: 4.125 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.006292/0.8888, allocations: 1.631 MB / 1.107 GB, free: 9.141 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)