Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [: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.202/2.202, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001625/0.001625, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.09/2.09, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001302/0.001302, allocations: 94.75 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.998e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2443, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7692/1.014, allocations: 133.7 MB / 1.019 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.014, allocations: 81.34 kB / 1.019 GB, free: 4.648 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.01696/1.031, allocations: 2.647 MB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.031, allocations: 4 kB / 1.021 GB, free: 2.441 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.0009406/1.032, allocations: 409.1 kB / 1.022 GB, free: 2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/1.032, allocations: 12.03 kB / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/1.032, allocations: 7.844 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/1.032, allocations: 175 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.032, allocations: 4 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/1.032, allocations: 7.875 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000208/1.033, allocations: 26.73 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/1.033, allocations: 52.23 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.033, allocations: 4 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/1.033, allocations: 0 / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/1.033, allocations: 7.906 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/1.034, allocations: 275.5 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/1.034, allocations: 43.16 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/1.034, allocations: 27.36 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/1.034, allocations: 0 / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/1.034, allocations: 70.83 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/1.034, allocations: 0 / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004451/1.035, allocations: 76.47 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.035, allocations: 63.2 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.035, allocations: 104.6 kB / 1.023 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/1.035, allocations: 32.5 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.188e-05/1.035, allocations: 80.33 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/1.035, allocations: 18.81 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/1.035, allocations: 3.938 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.036, allocations: 326.2 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/1.036, allocations: 19.25 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/1.036, allocations: 42.25 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.036, allocations: 22.22 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.036, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003991/1.036, allocations: 95.8 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.036, allocations: 6.656 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.036, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.037, allocations: 0 / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/1.037, allocations: 11.98 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.037, allocations: 4 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.037, allocations: 4 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/1.037, allocations: 4 kB / 1.023 GB, free: 368 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.0001456/1.037, allocations: 124.4 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/1.037, allocations: 3.906 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/1.037, allocations: 8.375 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.037, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.037, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.037, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007145/1.038, allocations: 322.9 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.038, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.038, allocations: 15.97 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.038, allocations: 0 / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.038, allocations: 0 / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.038, allocations: 7.938 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.038, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003801/1.039, allocations: 171.9 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/1.039, allocations: 85.02 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.039, allocations: 4 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/1.039, allocations: 7.984 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/1.039, allocations: 4 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.039, allocations: 3.984 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.779e-05/1.039, allocations: 93.88 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007833/1.04, allocations: 51.84 kB / 1.024 GB, free: 15.44 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.0006825/1.041, allocations: 181.1 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003322/1.041, allocations: 53.47 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.041, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.041, allocations: 33.19 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/1.042, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/1.042, allocations: 102 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/1.043, allocations: 0.7036 MB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/1.043, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.008654/1.052, allocations: 1.634 MB / 1.027 GB, free: 12.75 MB / 0.6511 GB