Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001043/0.001043, allocations: 189.2 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.2 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.000925, allocations: 89.91 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.931e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5583, allocations: 116.3 MB / 0.9726 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.7178, allocations: 140.2 MB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.7181, allocations: 84.42 kB / 1.11 GB, free: 8.301 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008455/0.7265, allocations: 2.648 MB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7266, allocations: 0 / 1.112 GB, free: 5.668 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.0004631/0.727, allocations: 422.3 kB / 1.113 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7271, allocations: 8.031 kB / 1.113 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.7271, allocations: 7.906 kB / 1.113 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.7273, allocations: 170.9 kB / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.7273, allocations: 0 / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.7273, allocations: 5.5 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.296e-05/0.7274, allocations: 23.98 kB / 1.113 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.7275, allocations: 53.67 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7275, allocations: 4 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.7275, allocations: 4 kB / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.7276, allocations: 0 / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.728, allocations: 277.3 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.7281, allocations: 38.52 kB / 1.113 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.7281, allocations: 28.98 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.7282, allocations: 3.984 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.7283, allocations: 63.41 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.7283, allocations: 0 / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000234/0.7285, allocations: 77.58 kB / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.7286, allocations: 55.41 kB / 1.113 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.7287, allocations: 119.9 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.7287, allocations: 29.7 kB / 1.113 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.7287, allocations: 86.2 kB / 1.114 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.7288, allocations: 19.73 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.7288, allocations: 3.938 kB / 1.114 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7289, allocations: 318.8 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.729, allocations: 15.98 kB / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.729, allocations: 34.58 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.7291, allocations: 32.05 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7291, allocations: 0 / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001687/0.7293, allocations: 89.53 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7293, allocations: 4 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7293, allocations: 3.984 kB / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.7293, allocations: 0 / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.7294, allocations: 20 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.7294, allocations: 2.109 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.7295, allocations: 15.95 kB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.7295, allocations: 4 kB / 1.114 GB, free: 3.457 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 7.22e-05/0.7296, allocations: 108.9 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.7296, allocations: 7.906 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.7297, allocations: 8.375 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.7297, allocations: 3.984 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7297, allocations: 0.9375 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7297, allocations: 4 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.73, allocations: 319 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.73, allocations: 3.938 kB / 1.114 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.7301, allocations: 4 kB / 1.114 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7301, allocations: 0 / 1.114 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7301, allocations: 7.984 kB / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7301, allocations: 3.906 kB / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7301, allocations: 0 / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002015/0.7303, allocations: 175.4 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.7304, allocations: 86.23 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.7304, allocations: 0 / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.7305, allocations: 4 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.7306, allocations: 11.92 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.7306, allocations: 0 / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.33e-05/0.7306, allocations: 99.27 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002775/0.7309, allocations: 47.94 kB / 1.115 GB, free: 2.492 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.000335/0.7313, allocations: 175.1 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.7314, allocations: 49.55 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7314, allocations: 4.125 kB / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.7315, allocations: 29.16 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.7317, allocations: 15.89 kB / 1.115 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.732, allocations: 95.8 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.7323, allocations: 0.7036 MB / 1.116 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7323, allocations: 0 / 1.116 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of Templates: time 0.003857/0.7361, allocations: 1.639 MB / 1.118 GB, free: 15.79 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)