Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [: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 7.0.1/package.mo): time 2.115/2.115, allocations: 253.1 MB / 260.4 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002731/0.002731, allocations: 185.3 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00133/0.001329, allocations: 84.7 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.236e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6579/0.8642, allocations: 133.7 MB / 1.019 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/0.8647, allocations: 77.33 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01708/0.8818, allocations: 2.649 MB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.8819, allocations: 4 kB / 1.021 GB, free: 2.371 MB / 0.6355 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.0007038/0.8826, allocations: 417.4 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.8826, allocations: 8.031 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.8827, allocations: 11.84 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.8829, allocations: 167 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.8829, allocations: 4 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.8829, allocations: 7.984 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001162/0.8831, allocations: 27.06 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.8832, allocations: 56.23 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8832, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.8833, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.8833, allocations: 7.906 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.8839, allocations: 274 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.884, allocations: 44.78 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.8841, allocations: 27.73 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.8841, allocations: 4.062 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.8843, allocations: 65.2 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.8843, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003122/0.8846, allocations: 78.53 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.8847, allocations: 51.41 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.8848, allocations: 111.7 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.8849, allocations: 29.7 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.8849, allocations: 87.81 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.885, allocations: 19.06 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.885, allocations: 0 / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8851, allocations: 318.3 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.8852, allocations: 22.25 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.8853, allocations: 41.64 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.8854, allocations: 25.83 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8855, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003673/0.8858, allocations: 101.8 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.8859, allocations: 6.656 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.8859, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8859, allocations: 4.062 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.8862, allocations: 15.8 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8862, allocations: 4.156 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.8865, allocations: 4 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.8865, allocations: 7.984 kB / 1.023 GB, free: 284 kB / 0.6355 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.0001525/0.8867, allocations: 110.1 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.8867, allocations: 15.89 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.884e-05/0.8868, allocations: 11.69 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8868, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8869, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8869, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.8877, allocations: 316.2 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8877, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.8878, allocations: 7.984 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.8879, allocations: 4 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.8879, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.8879, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.888, allocations: 11.88 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004291/0.8884, allocations: 175.6 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.8885, allocations: 85.02 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.8886, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.8888, allocations: 11.98 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.8889, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.889, allocations: 7.984 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001062/0.8891, allocations: 94.25 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009703/0.8901, allocations: 47.86 kB / 1.024 GB, free: 15.36 MB / 0.6511 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.0008727/0.891, allocations: 167.2 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.8914, allocations: 49.69 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8914, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.8915, allocations: 30.92 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.892, allocations: 13.44 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.8927, allocations: 97.67 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.8934, allocations: 0.7037 MB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.953e-06/0.8934, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.009579/0.903, allocations: 1.635 MB / 1.027 GB, free: 12.68 MB / 0.6511 GB