Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.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.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse") translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.571/1.571, 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.001188/0.001188, allocations: 193.2 kB / 361.1 MB, free: 7.086 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.718/1.718, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.001038/0.001038, allocations: 94.31 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.863e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.7442, allocations: 115.3 MB / 0.9636 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/6.32, allocations: 2.411 GB / 3.374 GB, free: 75.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/6.321, allocations: 93.44 kB / 3.374 GB, free: 75.31 MB / 0.948 GB Notification: Performance of FrontEnd: time 14.41/20.73, allocations: 3.71 GB / 7.084 GB, free: 79.61 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001743/20.73, allocations: 180.9 kB / 7.084 GB, free: 79.59 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.02739/20.76, allocations: 6.723 MB / 7.091 GB, free: 76.55 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/20.76, allocations: 11.25 kB / 7.091 GB, free: 76.55 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/20.77, allocations: 2.231 MB / 7.093 GB, free: 76.13 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03228/20.8, allocations: 7.829 MB / 7.101 GB, free: 74.96 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005291/20.8, allocations: 154.1 kB / 7.101 GB, free: 74.96 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/20.81, allocations: 288.3 kB / 7.101 GB, free: 74.96 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01369/20.82, allocations: 4.955 MB / 7.106 GB, free: 74.93 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/20.84, allocations: 5.239 MB / 7.111 GB, free: 74.12 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/20.84, allocations: 16.06 kB / 7.111 GB, free: 74.12 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/20.84, allocations: 11.25 kB / 7.111 GB, free: 74.12 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003945/20.84, allocations: 198.4 kB / 7.111 GB, free: 74.11 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/20.9, allocations: 26.25 MB / 7.137 GB, free: 61.53 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005142/20.9, allocations: 2.539 MB / 7.14 GB, free: 61.49 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004129/20.91, allocations: 2.151 MB / 7.142 GB, free: 61.46 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02295/20.93, allocations: 8.283 MB / 7.15 GB, free: 59.75 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003917/20.93, allocations: 2.036 MB / 7.152 GB, free: 59.62 MB / 1.073 GB Notification: Performance of pre-optimization done (n=302): time 1.119e-05/20.93, allocations: 0 / 7.152 GB, free: 59.62 MB / 1.073 GB Notification: Performance of matching and sorting (n=303): time 0.03013/20.96, allocations: 8.783 MB / 7.16 GB, free: 57.84 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/20.96, allocations: 451 kB / 7.161 GB, free: 57.34 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/20.98, allocations: 4.127 MB / 7.165 GB, free: 56.94 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001547/20.98, allocations: 35.92 kB / 7.165 GB, free: 56.91 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003641/20.98, allocations: 1.881 MB / 7.167 GB, free: 55.94 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002691/20.99, allocations: 0.9889 MB / 7.168 GB, free: 55.28 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/20.99, allocations: 0 / 7.168 GB, free: 55.28 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004298/20.99, allocations: 458 kB / 7.168 GB, free: 54.97 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/20.99, allocations: 1.545 MB / 7.17 GB, free: 54.96 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005447/21, allocations: 2.749 MB / 7.172 GB, free: 53.56 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/21, allocations: 2.134 MB / 7.174 GB, free: 53.24 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/21, allocations: 8.688 kB / 7.174 GB, free: 53.24 MB / 1.073 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01742/21.02, allocations: 5.137 MB / 7.179 GB, free: 51.47 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003254/21.02, allocations: 13.12 MB / 7.192 GB, free: 37.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.496e-05/21.02, allocations: 29.06 kB / 7.192 GB, free: 37.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/21.03, allocations: 0.5104 MB / 7.193 GB, free: 37.48 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005074/21.03, allocations: 0.8768 MB / 7.194 GB, free: 37.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/21.04, allocations: 5.595 MB / 7.199 GB, free: 32.77 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/21.05, allocations: 399.9 kB / 7.199 GB, free: 32.73 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00182/21.05, allocations: 200.7 kB / 7.2 GB, free: 32.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/21.05, allocations: 8.906 kB / 7.2 GB, free: 32.7 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02068/21.07, allocations: 4.359 MB / 7.204 GB, free: 31.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/21.07, allocations: 32.31 kB / 7.204 GB, free: 31.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/21.08, allocations: 0.5177 MB / 7.204 GB, free: 31.18 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/21.08, allocations: 0.8576 MB / 7.205 GB, free: 31.09 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/21.09, allocations: 5.608 MB / 7.211 GB, free: 26.46 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008733/21.1, allocations: 365.5 kB / 7.211 GB, free: 26.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/21.1, allocations: 191.8 kB / 7.211 GB, free: 26.4 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.002649/21.1, allocations: 210.9 kB / 7.211 GB, free: 26.22 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003037/21.1, allocations: 0.5485 MB / 7.212 GB, free: 25.93 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/21.12, allocations: 4.734 MB / 7.217 GB, free: 24.1 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/21.12, allocations: 35.94 kB / 7.217 GB, free: 24.07 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.473e-05/21.12, allocations: 4.734 kB / 7.217 GB, free: 24.07 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00866/21.13, allocations: 3.606 MB / 7.22 GB, free: 20.92 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/21.16, allocations: 9.276 MB / 7.229 GB, free: 13.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/21.16, allocations: 4 kB / 7.229 GB, free: 13.63 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003968/21.16, allocations: 0.6366 MB / 7.23 GB, free: 13.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/21.17, allocations: 486.5 kB / 7.23 GB, free: 12.71 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007716/21.17, allocations: 61.33 kB / 7.23 GB, free: 12.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/21.18, allocations: 11.25 MB / 7.241 GB, free: 1.109 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/21.18, allocations: 4 kB / 7.241 GB, free: 1.105 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02297/21.2, allocations: 7.206 MB / 7.248 GB, free: 11.54 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006483/21.21, allocations: 1.149 MB / 7.25 GB, free: 10.55 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004005/21.21, allocations: 22.84 kB / 7.25 GB, free: 10.54 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008696/21.22, allocations: 356.1 kB / 7.25 GB, free: 10.32 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/21.22, allocations: 193.4 kB / 7.25 GB, free: 10.21 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001236/21.22, allocations: 152.7 kB / 7.25 GB, free: 10.09 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.009804/21.23, allocations: 3.089 MB / 7.253 GB, free: 7.352 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02317/21.26, allocations: 3.178 MB / 7.256 GB, free: 4.227 MB / 1.089 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.01506/21.27, allocations: 7.224 MB / 7.263 GB, free: 14 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01831/21.29, allocations: 6.832 MB / 7.27 GB, free: 7.672 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/21.29, allocations: 4.781 kB / 7.27 GB, free: 7.668 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.005912/21.29, allocations: 2.625 MB / 7.273 GB, free: 5.164 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01547/21.31, allocations: 2.286 MB / 7.275 GB, free: 3.461 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8004/22.11, allocations: 9.961 MB / 7.285 GB, free: 192.1 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005711/22.12, allocations: 4.308 MB / 7.289 GB, free: 191.2 MB / 1.104 GB Notification: Performance of SimCode: time 2.885e-06/22.12, allocations: 0 / 7.289 GB, free: 191.2 MB / 1.104 GB Notification: Performance of Templates: time 0.2755/22.39, allocations: 157.7 MB / 7.443 GB, free: 185.4 MB / 1.104 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)