Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.144/2.144, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.001663/0.001663, allocations: 185 kB / 319.6 MB, free: 3.34 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.905/1.905, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001223/0.001223, allocations: 85.95 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.878e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1957, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6884/0.8841, allocations: 133.7 MB / 1.019 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004509/0.8846, allocations: 85.12 kB / 1.019 GB, free: 4.629 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.01968/0.9043, allocations: 2.643 MB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.9044, allocations: 0 / 1.021 GB, free: 2.434 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.001003/0.9054, allocations: 418.1 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.9055, allocations: 8.031 kB / 1.022 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.9056, allocations: 7.906 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.9059, allocations: 175 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.906, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.906, allocations: 4 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002025/0.9062, allocations: 27.12 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.9065, allocations: 57.3 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9065, allocations: 4 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.9066, allocations: 0 / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.9066, allocations: 3.906 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.9075, allocations: 270.1 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.9077, allocations: 48.72 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.9078, allocations: 27.23 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.9079, allocations: 0 / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.9081, allocations: 62.45 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.835e-06/0.9081, allocations: 4 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.9086, allocations: 83.19 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9086, allocations: 63.39 kB / 1.023 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.9088, allocations: 110.4 kB / 1.023 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.9089, allocations: 29.69 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.909, allocations: 84.33 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.909, allocations: 14.75 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.9091, allocations: 0 / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9092, allocations: 322.7 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.9094, allocations: 20.19 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.9095, allocations: 51.69 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.9097, allocations: 18.22 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9097, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004458/0.9102, allocations: 93.83 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.9103, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9103, allocations: 0 / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.9103, allocations: 0 / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.9106, allocations: 20.05 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9107, allocations: 0 / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.9109, allocations: 7.188 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.9109, allocations: 5.75 kB / 1.023 GB, free: 356 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.0001466/0.9111, allocations: 120.8 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.9111, allocations: 7.906 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.9112, allocations: 11.56 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9112, allocations: 0 / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9113, allocations: 0 / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.9113, allocations: 4 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.9121, allocations: 318.3 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9121, allocations: 0 / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.9123, allocations: 7.984 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.9123, allocations: 7.938 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.9124, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.9124, allocations: 4 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.9124, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003984/0.9128, allocations: 168.6 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.9129, allocations: 85.02 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.913, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.9132, allocations: 11.8 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.9133, allocations: 11.98 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.9134, allocations: 3.984 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001053/0.9135, allocations: 89.81 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000757/0.9143, allocations: 54.92 kB / 1.024 GB, free: 15.42 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.0006476/0.915, allocations: 171.3 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.9153, allocations: 52.3 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9153, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.9155, allocations: 29.59 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.9159, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.9165, allocations: 100.2 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.917, allocations: 0.6997 MB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/0.917, allocations: 4.125 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.00941/0.9264, allocations: 1.641 MB / 1.027 GB, free: 12.74 MB / 0.6511 GB