Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [: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.518/1.518, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009862/0.0009863, allocations: 173.3 kB / 361.1 MB, free: 7.07 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.413/1.413, allocations: 205.1 MB / 0.6195 GB, free: 11.89 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.000863/0.000863, allocations: 90.7 kB / 0.7326 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 0 / 0.8511 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6358, allocations: 115.3 MB / 0.9637 GB, free: 77.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.8082, allocations: 139.2 MB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.8085, allocations: 73.45 kB / 1.1 GB, free: 0.7422 MB / 0.698 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.008872/0.8174, allocations: 2.647 MB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.8174, allocations: 0 / 1.102 GB, free: 14.16 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.0005353/0.8179, allocations: 415.8 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.818, allocations: 8.531 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.818, allocations: 12.89 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.8182, allocations: 174.9 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.8182, allocations: 0.5938 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.8183, allocations: 4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.293e-05/0.8184, allocations: 20.56 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.8185, allocations: 59.06 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.8185, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8185, allocations: 0.5312 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8185, allocations: 1.062 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.819, allocations: 279.3 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.8191, allocations: 42.44 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.8192, allocations: 24.98 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.8192, allocations: 0 / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.476e-05/0.8193, allocations: 63.39 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.8193, allocations: 4.656 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002607/0.8196, allocations: 83.52 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.8196, allocations: 59.34 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.8197, allocations: 113.8 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.8198, allocations: 25.7 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.8199, allocations: 84.86 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.8199, allocations: 16.34 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.8199, allocations: 5.312 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.82, allocations: 326.8 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.8201, allocations: 12 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.8202, allocations: 46.95 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.8202, allocations: 20 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8202, allocations: 3.984 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001648/0.8204, allocations: 91.88 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.8204, allocations: 4 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.8204, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.8205, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.8206, allocations: 19.98 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8206, allocations: 5.625 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.8207, allocations: 7.906 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.8207, allocations: 7.984 kB / 1.104 GB, free: 11.97 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.5e-05/0.8208, allocations: 108.9 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.8208, allocations: 8.469 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.8208, allocations: 8.375 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8209, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8209, allocations: 4 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8209, allocations: 4 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.8212, allocations: 323.8 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.8212, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.8213, allocations: 4 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8213, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.8213, allocations: 1.312 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8213, allocations: 3.906 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8213, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001908/0.8215, allocations: 175.4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.8216, allocations: 89 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.8216, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.8217, allocations: 4 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.8217, allocations: 7.984 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.8218, allocations: 8.453 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.748e-05/0.8218, allocations: 91.28 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002907/0.8221, allocations: 51.92 kB / 1.105 GB, free: 11 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.0003819/0.8225, allocations: 172.9 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.8227, allocations: 52.05 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8227, allocations: 4.062 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.8227, allocations: 30.09 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.8229, allocations: 12.66 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.8233, allocations: 92.62 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.8236, allocations: 0.7101 MB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8236, allocations: 0 / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of Templates: time 0.004174/0.8278, allocations: 1.633 MB / 1.108 GB, free: 8.309 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)