Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [: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 8.0.0/package.mo): time 2.283/2.283, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 177.3 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.1 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 94.38 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.036e-05, allocations: 0 / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6324/0.6324, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2586/0.891, allocations: 139 MB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.8914, allocations: 81.11 kB / 1.099 GB, free: 1.648 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01421/0.9056, allocations: 2.646 MB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.9057, allocations: 5.406 kB / 1.101 GB, free: 15.06 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.000708/0.9064, allocations: 416.6 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.9065, allocations: 9.75 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.9065, allocations: 8.469 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.9067, allocations: 174 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.9067, allocations: 5.25 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.9068, allocations: 5.109 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/0.9069, allocations: 20 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.9071, allocations: 58.92 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9071, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.9072, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.9072, allocations: 5.203 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.9078, allocations: 283.5 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.908, allocations: 36.14 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.9081, allocations: 24.98 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.9081, allocations: 4.094 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.9083, allocations: 68.67 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.033e-06/0.9083, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003306/0.9086, allocations: 82.17 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.9087, allocations: 59.41 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.9088, allocations: 112.9 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.9089, allocations: 25.7 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.9089, allocations: 80.33 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.909, allocations: 23.81 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.909, allocations: 3.938 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9091, allocations: 318.8 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.9092, allocations: 16 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.9093, allocations: 43.27 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.9094, allocations: 20 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.9095, allocations: 3.938 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002677/0.9097, allocations: 88.08 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9098, allocations: 4.781 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.9098, allocations: 4 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.9098, allocations: 1.312 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.91, allocations: 23.98 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.91, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.9102, allocations: 7.906 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.9102, allocations: 7.984 kB / 1.103 GB, free: 12.86 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 0.0001051/0.9103, allocations: 108.1 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.9103, allocations: 7.906 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.9104, allocations: 16.94 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9104, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9104, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.9104, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.911, allocations: 323 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.911, allocations: 1.562 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.9111, allocations: 8.5 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9111, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.9111, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.9111, allocations: 7.906 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9111, allocations: 0 / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000275/0.9114, allocations: 175.4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.9115, allocations: 85.02 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.9115, allocations: 4.922 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.9117, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.9118, allocations: 12.48 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.9118, allocations: 5.75 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.928e-05/0.9119, allocations: 94.12 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000498/0.9124, allocations: 47.92 kB / 1.104 GB, free: 11.9 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.0004884/0.9129, allocations: 167.9 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.9131, allocations: 59.59 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9132, allocations: 0 / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.9133, allocations: 27.98 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.9135, allocations: 12.84 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.914, allocations: 97.77 kB / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.9145, allocations: 0.7115 MB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.502e-06/0.9145, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.006408/0.9209, allocations: 1.629 MB / 1.107 GB, free: 9.207 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)