Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.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.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse") translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse") [: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.453/2.453, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001637/0.001636, allocations: 189.2 kB / 360.4 MB, free: 7.492 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.784/1.784, 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.002517/0.002516, allocations: 92.91 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.107e-05/1.122e-05, allocations: 4 kB / 0.8502 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6597, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.568/6.228, allocations: 2.411 GB / 3.373 GB, free: 65.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/6.228, allocations: 89.45 kB / 3.373 GB, free: 65.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 18.01/24.24, allocations: 3.71 GB / 7.083 GB, free: 75.34 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001557/24.24, allocations: 179.9 kB / 7.083 GB, free: 75.31 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1198 * Number of variables: 1198 Notification: Performance of Generate backend data structure: time 0.03037/24.27, allocations: 6.725 MB / 7.09 GB, free: 72.2 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/24.27, allocations: 7.344 kB / 7.09 GB, free: 72.2 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02387/24.29, allocations: 2.238 MB / 7.092 GB, free: 71.79 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03786/24.33, allocations: 7.824 MB / 7.1 GB, free: 70.62 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004539/24.33, allocations: 157.7 kB / 7.1 GB, free: 70.62 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/24.34, allocations: 291.2 kB / 7.1 GB, free: 70.62 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01962/24.36, allocations: 4.947 MB / 7.105 GB, free: 70.59 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/24.38, allocations: 5.238 MB / 7.11 GB, free: 69.79 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/24.38, allocations: 12.78 kB / 7.11 GB, free: 69.79 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/24.38, allocations: 11.84 kB / 7.11 GB, free: 69.79 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/24.38, allocations: 195.5 kB / 7.11 GB, free: 69.77 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/24.45, allocations: 26.26 MB / 7.136 GB, free: 57.17 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/24.46, allocations: 2.529 MB / 7.139 GB, free: 57.12 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006955/24.47, allocations: 2.15 MB / 7.141 GB, free: 57.1 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03476/24.51, allocations: 8.284 MB / 7.149 GB, free: 55.38 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006715/24.51, allocations: 2.041 MB / 7.151 GB, free: 55.25 MB / 1.073 GB Notification: Performance of pre-optimization done (n=302): time 8.867e-06/24.51, allocations: 0 / 7.151 GB, free: 55.25 MB / 1.073 GB Notification: Performance of matching and sorting (n=303): time 0.04432/24.56, allocations: 8.775 MB / 7.159 GB, free: 53.48 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/24.56, allocations: 446.4 kB / 7.16 GB, free: 52.97 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/24.57, allocations: 4.13 MB / 7.164 GB, free: 52.57 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/24.57, allocations: 32.39 kB / 7.164 GB, free: 52.54 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004093/24.58, allocations: 1.891 MB / 7.166 GB, free: 51.57 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00332/24.58, allocations: 0.9887 MB / 7.167 GB, free: 50.91 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007865/24.58, allocations: 0 / 7.167 GB, free: 50.91 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000453/24.58, allocations: 456.7 kB / 7.167 GB, free: 50.6 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006299/24.59, allocations: 1.546 MB / 7.169 GB, free: 50.59 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00727/24.59, allocations: 2.752 MB / 7.171 GB, free: 48.53 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008817/24.6, allocations: 2.132 MB / 7.173 GB, free: 47.8 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-05/24.6, allocations: 10 kB / 7.173 GB, free: 47.8 MB / 1.073 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0235/24.63, allocations: 5.136 MB / 7.178 GB, free: 46.03 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003181/24.63, allocations: 13.13 MB / 7.191 GB, free: 32.16 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/24.63, allocations: 27.84 kB / 7.191 GB, free: 32.16 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/24.63, allocations: 0.5083 MB / 7.192 GB, free: 32.04 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008895/24.64, allocations: 0.881 MB / 7.193 GB, free: 31.96 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/24.66, allocations: 5.584 MB / 7.198 GB, free: 27.33 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/24.67, allocations: 405.4 kB / 7.198 GB, free: 27.29 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/24.67, allocations: 195.9 kB / 7.199 GB, free: 27.27 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/24.67, allocations: 4.531 kB / 7.199 GB, free: 27.27 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02018/24.69, allocations: 4.366 MB / 7.203 GB, free: 25.86 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/24.69, allocations: 27.72 kB / 7.203 GB, free: 25.86 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/24.69, allocations: 0.5258 MB / 7.203 GB, free: 25.73 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008382/24.7, allocations: 0.8595 MB / 7.204 GB, free: 25.65 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/24.71, allocations: 5.59 MB / 7.21 GB, free: 21.04 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/24.72, allocations: 371.3 kB / 7.21 GB, free: 21.01 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/24.72, allocations: 184.8 kB / 7.21 GB, free: 20.98 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 436 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002266/24.73, allocations: 224.6 kB / 7.21 GB, free: 20.79 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003087/24.73, allocations: 0.5457 MB / 7.211 GB, free: 20.47 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/24.75, allocations: 4.747 MB / 7.216 GB, free: 16.62 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.1e-05/24.75, allocations: 32 kB / 7.216 GB, free: 16.59 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/24.75, allocations: 3.75 kB / 7.216 GB, free: 16.59 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0158/24.77, allocations: 3.605 MB / 7.219 GB, free: 13.44 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/24.81, allocations: 9.273 MB / 7.228 GB, free: 6.16 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.311e-05/24.81, allocations: 4 kB / 7.228 GB, free: 6.156 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007373/24.82, allocations: 0.6341 MB / 7.229 GB, free: 5.641 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003097/24.82, allocations: 490.5 kB / 7.229 GB, free: 5.238 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001071/24.82, allocations: 61.48 kB / 7.229 GB, free: 5.195 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/24.84, allocations: 11.25 MB / 7.24 GB, free: 9.621 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/24.84, allocations: 4 kB / 7.24 GB, free: 9.617 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02561/24.86, allocations: 6.893 MB / 7.247 GB, free: 3.266 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006124/24.87, allocations: 1.145 MB / 7.248 GB, free: 2.285 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002961/24.87, allocations: 22.09 kB / 7.248 GB, free: 2.27 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01027/24.88, allocations: 353.9 kB / 7.249 GB, free: 2.051 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/24.88, allocations: 197.3 kB / 7.249 GB, free: 1.934 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008188/24.88, allocations: 145.4 kB / 7.249 GB, free: 1.824 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.01239/24.9, allocations: 3.173 MB / 7.252 GB, free: 15.28 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02706/24.92, allocations: 3.181 MB / 7.255 GB, free: 12.16 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (315): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {1 2,2 9,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01776/24.94, allocations: 7.228 MB / 7.262 GB, free: 6.066 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.6472/25.59, allocations: 6.837 MB / 7.269 GB, free: 197.5 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/25.59, allocations: 4.438 kB / 7.269 GB, free: 197.5 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.007746/25.6, allocations: 2.599 MB / 7.271 GB, free: 196.8 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02251/25.62, allocations: 2.295 MB / 7.274 GB, free: 196.8 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04505/25.66, allocations: 9.963 MB / 7.283 GB, free: 194.7 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0132/25.68, allocations: 4.311 MB / 7.288 GB, free: 193.9 MB / 1.104 GB Notification: Performance of SimCode: time 2.464e-06/25.68, allocations: 0 / 7.288 GB, free: 193.9 MB / 1.104 GB Notification: Performance of Templates: time 0.4177/26.09, allocations: 157.7 MB / 7.442 GB, free: 187.6 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)