Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [: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.48/1.48, 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.001592/0.001592, allocations: 181.3 kB / 361.1 MB, free: 7.133 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: 12.05 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.0009676/0.0009678, allocations: 89.09 kB / 0.7325 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.094e-05, allocations: 4 kB / 0.8511 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6384, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.8092, allocations: 139.2 MB / 1.1 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.8095, allocations: 81.31 kB / 1.1 GB, free: 0.9062 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.009113/0.8187, allocations: 2.655 MB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.8187, allocations: 0 / 1.102 GB, free: 14.32 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.0005401/0.8193, allocations: 412.8 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.8193, allocations: 9.031 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.8194, allocations: 7.906 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.8195, allocations: 173.6 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.8196, allocations: 1.844 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.8196, allocations: 5.562 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/0.8197, allocations: 23.98 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.8199, allocations: 54.52 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8199, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.8199, allocations: 4.719 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8199, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.8205, allocations: 283.8 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.8206, allocations: 39.08 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.8206, allocations: 32.12 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.8207, allocations: 1.109 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.8208, allocations: 66.47 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.8208, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002823/0.8211, allocations: 78.94 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.8211, allocations: 55.41 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.8212, allocations: 113.4 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8213, allocations: 25.7 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.8213, allocations: 92.81 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.8213, allocations: 13.06 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.8214, allocations: 3.938 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8215, allocations: 323.4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.8215, allocations: 16 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.8216, allocations: 35.64 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.8217, allocations: 29.61 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8217, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001788/0.8219, allocations: 90.2 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.8219, allocations: 12.06 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8219, allocations: 2.562 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.822, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.8221, allocations: 16.64 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.8221, allocations: 3.938 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.8222, allocations: 7.906 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.8222, allocations: 4 kB / 1.104 GB, free: 12.13 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.416e-05/0.8223, allocations: 113 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.8223, allocations: 7.906 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.8223, allocations: 8.359 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8224, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8224, allocations: 4.016 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8224, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.8227, allocations: 327 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8227, allocations: 0 / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.8228, allocations: 8 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8228, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.8228, allocations: 7.984 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.8228, allocations: 3.906 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8228, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001856/0.823, allocations: 170 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.8231, allocations: 89.02 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.8231, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.8232, allocations: 13.73 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.8233, allocations: 7.938 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.8233, allocations: 0 / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.102e-05/0.8233, allocations: 97.61 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002967/0.8236, allocations: 51.94 kB / 1.105 GB, free: 11.17 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.000363/0.824, allocations: 176.5 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.8242, allocations: 51.94 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8242, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.8242, allocations: 27.98 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.8244, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.8248, allocations: 106.6 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.8251, allocations: 0.705 MB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.8251, allocations: 4 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.004359/0.8295, allocations: 1.637 MB / 1.108 GB, free: 8.48 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)