Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 285.5 MB / 292.8 MB, free: 9.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 181.2 kB / 361.1 MB, free: 336 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 0.6195 GB, free: 2.816 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009078/0.000908, allocations: 84.27 kB / 0.7326 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.773e-06, allocations: 0 / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 115.3 MB / 0.9637 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7246/0.9631, allocations: 139.2 MB / 1.1 GB, free: 36.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.9634, allocations: 82.8 kB / 1.1 GB, free: 36.04 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.008551/0.972, allocations: 2.646 MB / 1.102 GB, free: 35.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.972, allocations: 0 / 1.102 GB, free: 35.91 MB / 0.7136 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.0005024/0.9726, allocations: 419.9 kB / 1.103 GB, free: 35.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.9726, allocations: 11.09 kB / 1.103 GB, free: 35.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.9726, allocations: 7.594 kB / 1.103 GB, free: 35.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.9728, allocations: 169.2 kB / 1.103 GB, free: 35.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.9728, allocations: 8.969 kB / 1.103 GB, free: 35.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.9728, allocations: 6.406 kB / 1.103 GB, free: 35.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.435e-05/0.9729, allocations: 23.83 kB / 1.103 GB, free: 35.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.973, allocations: 57.72 kB / 1.103 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9731, allocations: 0 / 1.103 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9731, allocations: 0 / 1.103 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.9731, allocations: 3.875 kB / 1.103 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.9736, allocations: 273 kB / 1.103 GB, free: 35.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.9737, allocations: 52.06 kB / 1.103 GB, free: 35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.9737, allocations: 18.3 kB / 1.103 GB, free: 34.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.9737, allocations: 3.938 kB / 1.103 GB, free: 34.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.624e-05/0.9738, allocations: 63.88 kB / 1.103 GB, free: 34.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9739, allocations: 0 / 1.103 GB, free: 34.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002392/0.9741, allocations: 78.59 kB / 1.103 GB, free: 34.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.9741, allocations: 59.22 kB / 1.103 GB, free: 34.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.9742, allocations: 113.5 kB / 1.104 GB, free: 34.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.9742, allocations: 28.14 kB / 1.104 GB, free: 34.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.9743, allocations: 83.64 kB / 1.104 GB, free: 34.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.9743, allocations: 22.47 kB / 1.104 GB, free: 34.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.9743, allocations: 3.938 kB / 1.104 GB, free: 34.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.9744, allocations: 318 kB / 1.104 GB, free: 34.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.9744, allocations: 17.64 kB / 1.104 GB, free: 34.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.9745, allocations: 38.95 kB / 1.104 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.9746, allocations: 21.73 kB / 1.104 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9746, allocations: 3.875 kB / 1.104 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001512/0.9747, allocations: 91.86 kB / 1.104 GB, free: 34.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9748, allocations: 3.75 kB / 1.104 GB, free: 34.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9748, allocations: 3.75 kB / 1.104 GB, free: 34.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9748, allocations: 0 / 1.104 GB, free: 34.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.9749, allocations: 19.34 kB / 1.104 GB, free: 34.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.9749, allocations: 0 / 1.104 GB, free: 34.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.975, allocations: 7.781 kB / 1.104 GB, free: 34.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.975, allocations: 6.688 kB / 1.104 GB, free: 34.22 MB / 0.7136 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 6.554e-05/0.9751, allocations: 116.4 kB / 1.104 GB, free: 34.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.9751, allocations: 3.906 kB / 1.104 GB, free: 34.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.9752, allocations: 10.69 kB / 1.104 GB, free: 34.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9752, allocations: 4 kB / 1.104 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9752, allocations: 0 / 1.104 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9752, allocations: 0 / 1.104 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.9755, allocations: 331.9 kB / 1.105 GB, free: 33.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9755, allocations: 3.984 kB / 1.105 GB, free: 33.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.9755, allocations: 3.531 kB / 1.105 GB, free: 33.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9755, allocations: 3.938 kB / 1.105 GB, free: 33.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.9756, allocations: 3.344 kB / 1.105 GB, free: 33.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9756, allocations: 4 kB / 1.105 GB, free: 33.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9756, allocations: 3.906 kB / 1.105 GB, free: 33.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001535/0.9757, allocations: 172.3 kB / 1.105 GB, free: 33.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.9758, allocations: 89.58 kB / 1.105 GB, free: 33.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.9758, allocations: 2.125 kB / 1.105 GB, free: 33.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.9759, allocations: 3.75 kB / 1.105 GB, free: 33.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.976, allocations: 15.41 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.976, allocations: 3.656 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.312e-05/0.976, allocations: 95.91 kB / 1.105 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003115/0.9763, allocations: 47.03 kB / 1.105 GB, free: 33.48 MB / 0.7136 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.0003644/0.9767, allocations: 173.4 kB / 1.105 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.9768, allocations: 54.56 kB / 1.105 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.9769, allocations: 0 / 1.105 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.9769, allocations: 29.53 kB / 1.105 GB, free: 33.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.9771, allocations: 7 kB / 1.105 GB, free: 33.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.9775, allocations: 92.81 kB / 1.105 GB, free: 33.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9778, allocations: 0.6994 MB / 1.106 GB, free: 48.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9778, allocations: 7.344 kB / 1.106 GB, free: 48.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.004062/0.9819, allocations: 1.641 MB / 1.108 GB, free: 48.46 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)