Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [: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.286/2.286, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.002164/0.002163, allocations: 185.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.856/1.856, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001188/0.001188, allocations: 89.23 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.939e-06/1.003e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5972, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.814, allocations: 139 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.8144, allocations: 79.7 kB / 1.099 GB, free: 1.66 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.01394/0.8284, allocations: 2.644 MB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.8284, allocations: 4 kB / 1.101 GB, free: 15.07 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.0006856/0.8291, allocations: 413 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8292, allocations: 16.02 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.8292, allocations: 12.41 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.8294, allocations: 168.4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.8294, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.8295, allocations: 4.719 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/0.8296, allocations: 21.38 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.8297, allocations: 58.53 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.8298, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.8298, allocations: 5.141 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.8298, allocations: 4 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.8304, allocations: 280.2 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.8306, allocations: 35.58 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.8307, allocations: 24.98 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.8307, allocations: 1.219 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.8309, allocations: 64.7 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.8309, allocations: 0 / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003348/0.8312, allocations: 82.05 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.8313, allocations: 64.56 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.8314, allocations: 108.9 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.8314, allocations: 30.33 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.8315, allocations: 84.33 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.8316, allocations: 23.73 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-06/0.8316, allocations: 3.938 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8317, allocations: 318.8 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.8318, allocations: 12 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.8319, allocations: 40.75 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.8321, allocations: 23.98 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8321, allocations: 4 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002617/0.8324, allocations: 85.53 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8324, allocations: 8 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8324, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8324, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.8326, allocations: 19.92 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8326, allocations: 1.688 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.8328, allocations: 18.41 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.8328, allocations: 9.25 kB / 1.103 GB, free: 12.88 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.0001028/0.8329, allocations: 110.5 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.8329, allocations: 3.906 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.833, allocations: 12.38 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.833, allocations: 0 / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.833, allocations: 0 / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.833, allocations: 0.6562 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.8335, allocations: 331 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8336, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.8336, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8336, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8337, allocations: 4 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8337, allocations: 3.906 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8337, allocations: 1.812 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002665/0.834, allocations: 176.7 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.834, allocations: 89.56 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.8341, allocations: 6.094 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.8342, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.8343, allocations: 11.92 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.8343, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.446e-05/0.8344, allocations: 87.28 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000484/0.8349, allocations: 51.92 kB / 1.104 GB, free: 11.92 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.0004777/0.8354, allocations: 167.7 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.8356, allocations: 59.91 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8357, allocations: 4 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.8358, allocations: 24 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.836, allocations: 14.69 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.8365, allocations: 97.83 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.8368, allocations: 0.7074 MB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/0.8368, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.006225/0.8431, allocations: 1.636 MB / 1.107 GB, free: 9.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)