Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [: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.467/1.467, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001041/0.001041, allocations: 173.3 kB / 366.3 MB, free: 2 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.243/1.243, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.001177/0.001177, allocations: 95.73 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.284e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5447, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.7057, allocations: 140.2 MB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.706, allocations: 87.88 kB / 1.11 GB, free: 8.23 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.00836/0.7144, allocations: 2.637 MB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.7144, allocations: 4 kB / 1.112 GB, free: 5.609 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.0004166/0.7148, allocations: 418.4 kB / 1.113 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7149, allocations: 8.031 kB / 1.113 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.7149, allocations: 11.89 kB / 1.113 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7151, allocations: 167 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.7151, allocations: 7.938 kB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.7151, allocations: 0.6562 kB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.118e-05/0.7152, allocations: 23.98 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.7153, allocations: 57.67 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.7153, allocations: 3.984 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.7153, allocations: 0 / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7153, allocations: 4 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.7158, allocations: 277.3 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.7158, allocations: 43.73 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.7159, allocations: 20.98 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.7159, allocations: 8 kB / 1.113 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.307e-05/0.716, allocations: 67.39 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.716, allocations: 0 / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000215/0.7162, allocations: 83.12 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.7163, allocations: 51.41 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.7164, allocations: 115.2 kB / 1.113 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.7164, allocations: 25.7 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.7164, allocations: 92.33 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7165, allocations: 19.69 kB / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.7165, allocations: 3.938 kB / 1.114 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7166, allocations: 318.8 kB / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.7166, allocations: 21.22 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.7167, allocations: 38.56 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.063e-05/0.7168, allocations: 20 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7168, allocations: 0 / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000161/0.7169, allocations: 93.52 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.7169, allocations: 4 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.717, allocations: 0 / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.717, allocations: 4 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.7171, allocations: 11.98 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7171, allocations: 2.734 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.7172, allocations: 15.97 kB / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.7172, allocations: 3.984 kB / 1.114 GB, free: 3.398 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.019e-05/0.7173, allocations: 109.6 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.7173, allocations: 8.562 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.7173, allocations: 12.38 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.7173, allocations: 4 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7173, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7174, allocations: 4 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.7176, allocations: 315 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7177, allocations: 4 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.7177, allocations: 13.05 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.7177, allocations: 0 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7177, allocations: 0 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7177, allocations: 3.906 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7178, allocations: 0 / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001765/0.7179, allocations: 179.4 kB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.718, allocations: 81.02 kB / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.718, allocations: 7.984 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.7181, allocations: 4 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.7181, allocations: 11.92 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.7182, allocations: 4 kB / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.241e-05/0.7182, allocations: 87.28 kB / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002756/0.7185, allocations: 48.67 kB / 1.115 GB, free: 2.434 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.0003424/0.7188, allocations: 173.3 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.719, allocations: 51.97 kB / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.719, allocations: 0 / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.719, allocations: 36.06 kB / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.7192, allocations: 12.3 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.7195, allocations: 95.81 kB / 1.115 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.7198, allocations: 0.7036 MB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7198, allocations: 0 / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of Templates: time 0.003823/0.7236, allocations: 1.635 MB / 1.118 GB, free: 15.72 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)