Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") [: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.084/2.084, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001583/0.001583, allocations: 173.3 kB / 319.6 MB, free: 3.324 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 2.117/2.117, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.002023/0.002023, allocations: 91.33 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.12e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.727/0.9342, allocations: 133.7 MB / 1.019 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.9346, allocations: 88.3 kB / 1.019 GB, free: 4.621 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.014/0.9486, allocations: 2.643 MB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9487, allocations: 4 kB / 1.021 GB, free: 2.422 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.0006785/0.9494, allocations: 413.6 kB / 1.022 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9494, allocations: 8.031 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.9495, allocations: 16.66 kB / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.9496, allocations: 171 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.9497, allocations: 16.95 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.9498, allocations: 0 / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/0.9499, allocations: 18 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.9501, allocations: 59.11 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.9501, allocations: 0 / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.9501, allocations: 0 / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.9501, allocations: 3.906 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.9507, allocations: 286.5 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.9509, allocations: 45.36 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.649e-05/0.951, allocations: 20.05 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.951, allocations: 4 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.9511, allocations: 68.95 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.053e-06/0.9512, allocations: 4 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000332/0.9515, allocations: 78.58 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.9516, allocations: 51.41 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.9517, allocations: 112.5 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.9517, allocations: 25.7 kB / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.9518, allocations: 87.52 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.9518, allocations: 22.94 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.9518, allocations: 0 / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.952, allocations: 322 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.9521, allocations: 18.62 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.9522, allocations: 43.31 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.9523, allocations: 21.72 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9523, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002694/0.9526, allocations: 95.58 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.9526, allocations: 6.5 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9526, allocations: 4.062 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9527, allocations: 4 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.9528, allocations: 11.98 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.9529, allocations: 0 / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.953, allocations: 8 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.953, allocations: 7.109 kB / 1.023 GB, free: 336 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.0001073/0.9531, allocations: 116.8 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.9532, allocations: 7.906 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.9532, allocations: 8 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.9532, allocations: 4 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9533, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9533, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.9538, allocations: 314.4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9538, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.9539, allocations: 15.92 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9539, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.9539, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9539, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.954, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002758/0.9542, allocations: 175.6 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.9543, allocations: 81.02 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.9543, allocations: 3.984 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.9545, allocations: 12 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.9546, allocations: 7.797 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.9546, allocations: 4 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.62e-05/0.9547, allocations: 90.12 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000477/0.9552, allocations: 55.67 kB / 1.024 GB, free: 15.41 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.0004846/0.9557, allocations: 178.3 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.9559, allocations: 49.73 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9559, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.956, allocations: 32.5 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.9563, allocations: 7.375 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.9567, allocations: 101 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.9571, allocations: 0.7076 MB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/0.9571, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.006074/0.9632, allocations: 1.625 MB / 1.027 GB, free: 12.72 MB / 0.6511 GB