Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.194/2.194, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001603/0.001603, allocations: 192 kB / 319.6 MB, free: 3.305 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.928/1.928, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001316/0.001316, allocations: 97.78 kB / 0.6746 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.188e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1998, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6614/0.8613, allocations: 133.7 MB / 1.019 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.8616, allocations: 79.42 kB / 1.019 GB, free: 4.566 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.01428/0.8759, allocations: 2.651 MB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.876, allocations: 0 / 1.021 GB, free: 2.359 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.0006894/0.8767, allocations: 422.2 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8767, allocations: 8.031 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.8768, allocations: 11.84 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.877, allocations: 170.9 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.877, allocations: 0 / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.877, allocations: 4 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/0.8772, allocations: 22.5 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.8773, allocations: 56.86 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8773, allocations: 3.984 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.8774, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.8774, allocations: 7.906 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.878, allocations: 276.6 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.8781, allocations: 41.61 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.8782, allocations: 21.55 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.8783, allocations: 4 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.8784, allocations: 68.45 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.567e-06/0.8784, allocations: 3.984 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003256/0.8788, allocations: 81.83 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8788, allocations: 54.34 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.8789, allocations: 111.7 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.879, allocations: 25.7 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.879, allocations: 91.77 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.8791, allocations: 19.73 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.8791, allocations: 1.031 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8792, allocations: 314.4 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.8793, allocations: 24.61 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.8794, allocations: 44.38 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.8795, allocations: 33.08 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8795, allocations: 0 / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002914/0.8798, allocations: 90.2 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8799, allocations: 6.656 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8799, allocations: 0 / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8799, allocations: 4 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.8801, allocations: 15.92 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8801, allocations: 7.938 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.8803, allocations: 8.062 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.8803, allocations: 7 kB / 1.023 GB, free: 260 kB / 0.6355 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 0.000113/0.8804, allocations: 114.6 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.8805, allocations: 3.906 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.8805, allocations: 11.38 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8805, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.8805, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8806, allocations: 7.938 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.8811, allocations: 319.6 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.8812, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.8812, allocations: 7.984 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.8813, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8813, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8813, allocations: 4.156 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8813, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002714/0.8816, allocations: 188.2 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.8816, allocations: 85.02 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.8817, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.8819, allocations: 8.859 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.8819, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.882, allocations: 7.984 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.116e-05/0.882, allocations: 97.75 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004834/0.8825, allocations: 47.86 kB / 1.024 GB, free: 15.33 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.0004712/0.883, allocations: 169.3 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.8833, allocations: 56.53 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8833, allocations: 4.125 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.8834, allocations: 30.75 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.8837, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.8841, allocations: 98.92 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.8845, allocations: 0.7036 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/0.8845, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.006097/0.8906, allocations: 1.648 MB / 1.027 GB, free: 12.63 MB / 0.6511 GB