Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.501/1.501, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001128/0.001128, allocations: 173.3 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.344/1.344, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0008769/0.0008768, allocations: 90.34 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.646e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5854, allocations: 116.3 MB / 0.9725 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.7501, allocations: 140.2 MB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.7503, allocations: 83.94 kB / 1.11 GB, free: 8.25 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.009015/0.7594, allocations: 2.647 MB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.7594, allocations: 0 / 1.112 GB, free: 5.617 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.0005692/0.76, allocations: 414.4 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.76, allocations: 8.031 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.7601, allocations: 11.91 kB / 1.113 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.7602, allocations: 179 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.7603, allocations: 0 / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.7603, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.599e-05/0.7604, allocations: 23.94 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.7605, allocations: 53.67 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7605, allocations: 5.688 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.7605, allocations: 0 / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7605, allocations: 0 / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.761, allocations: 281.3 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/0.7612, allocations: 38.52 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.7612, allocations: 24.98 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.7613, allocations: 0 / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.3e-05/0.7613, allocations: 67.47 kB / 1.113 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.7614, allocations: 4 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002453/0.7616, allocations: 77.56 kB / 1.113 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.7617, allocations: 59.41 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.7618, allocations: 110.1 kB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.7618, allocations: 25.7 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.7618, allocations: 88.33 kB / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.7619, allocations: 19.69 kB / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.7619, allocations: 4 kB / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.762, allocations: 322.8 kB / 1.114 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.7621, allocations: 15.94 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.7621, allocations: 39.59 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.7622, allocations: 20 kB / 1.114 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7622, allocations: 0 / 1.114 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001782/0.7624, allocations: 101.5 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7624, allocations: 4 kB / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7624, allocations: 0 / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.7625, allocations: 0 / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.7626, allocations: 19.98 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7626, allocations: 0 / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.7627, allocations: 7.906 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.7627, allocations: 11.98 kB / 1.114 GB, free: 3.402 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 8.161e-05/0.7628, allocations: 116.5 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.7628, allocations: 7.906 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.7629, allocations: 4.375 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7629, allocations: 0 / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.7629, allocations: 0 / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.7629, allocations: 4 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.7633, allocations: 320.6 kB / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7633, allocations: 4 kB / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.7633, allocations: 9.016 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.7633, allocations: 7.938 kB / 1.114 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7634, allocations: 0 / 1.114 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.7634, allocations: 3.906 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.7634, allocations: 0 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001885/0.7636, allocations: 175.4 kB / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.7636, allocations: 89.02 kB / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.7637, allocations: 3.984 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.7638, allocations: 7.938 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.7638, allocations: 7.984 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.7638, allocations: 0 / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.619e-05/0.7639, allocations: 90.78 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003047/0.7642, allocations: 51.92 kB / 1.115 GB, free: 2.438 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.0003533/0.7645, allocations: 170 kB / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.7647, allocations: 54.41 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7647, allocations: 0 / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.7648, allocations: 27.94 kB / 1.115 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.765, allocations: 3.906 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.7653, allocations: 100.8 kB / 1.115 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.7657, allocations: 0.7036 MB / 1.116 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7657, allocations: 4 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of Templates: time 0.003998/0.7697, allocations: 1.632 MB / 1.118 GB, free: 15.74 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)