Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse") translateModel(Annex60.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2821/0.2821, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001265/0.001265, allocations: 187.7 kB / 75.38 MB, free: 1.562 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.67/1.67, allocations: 194.2 MB / 283.2 MB, free: 3.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001681/0.001681, allocations: 115.9 kB / 341.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.658e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1709, allocations: 57.65 MB / 462.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.54/5.711, allocations: 2.456 GB / 2.908 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/5.711, allocations: 92.3 kB / 2.908 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 10.8/16.52, allocations: 2.706 GB / 5.614 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00183/16.52, allocations: 176 kB / 5.614 GB, free: 22.04 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.03543/16.55, allocations: 6.656 MB / 5.621 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/16.55, allocations: 16.44 kB / 5.621 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0186/16.57, allocations: 2.425 MB / 5.623 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02872/16.6, allocations: 7.765 MB / 5.631 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/16.6, allocations: 152 kB / 5.631 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/16.6, allocations: 283.9 kB / 5.631 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01412/16.62, allocations: 4.961 MB / 5.636 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/16.64, allocations: 5.193 MB / 5.641 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004203/16.64, allocations: 15.84 kB / 5.641 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002476/16.64, allocations: 8 kB / 5.641 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/16.64, allocations: 204.5 kB / 5.641 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4819/17.12, allocations: 26.39 MB / 5.667 GB, free: 67.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/17.13, allocations: 2.636 MB / 5.67 GB, free: 67.97 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/17.13, allocations: 2.322 MB / 5.672 GB, free: 67.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/17.15, allocations: 6.559 MB / 5.678 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003113/17.15, allocations: 2.167 MB / 5.68 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=312): time 5.761e-06/17.15, allocations: 0 / 5.68 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=318): time 0.02746/17.18, allocations: 9.403 MB / 5.689 GB, free: 65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/17.18, allocations: 0.4946 MB / 5.69 GB, free: 64.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008269/17.18, allocations: 3.945 MB / 5.694 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/17.19, allocations: 30.27 kB / 5.694 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/17.19, allocations: 1.819 MB / 5.696 GB, free: 63.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002544/17.19, allocations: 1.034 MB / 5.697 GB, free: 62.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/17.19, allocations: 0 / 5.697 GB, free: 62.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003352/17.19, allocations: 465.6 kB / 5.697 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/17.19, allocations: 1.673 MB / 5.699 GB, free: 62.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/17.2, allocations: 2.773 MB / 5.701 GB, free: 61.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005852/17.2, allocations: 2.261 MB / 5.704 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/17.2, allocations: 13.22 kB / 5.704 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01307/17.22, allocations: 5.416 MB / 5.709 GB, free: 60.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00237/17.22, allocations: 12.22 MB / 5.721 GB, free: 47.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.347e-05/17.22, allocations: 30.33 kB / 5.721 GB, free: 47.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/17.22, allocations: 0.5063 MB / 5.721 GB, free: 47.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005393/17.23, allocations: 0.9434 MB / 5.722 GB, free: 47.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/17.23, allocations: 5.588 MB / 5.728 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/17.24, allocations: 395 kB / 5.728 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/17.24, allocations: 200.9 kB / 5.728 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/17.24, allocations: 3.719 kB / 5.728 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01081/17.25, allocations: 4.644 MB / 5.733 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/17.25, allocations: 30.36 kB / 5.733 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/17.26, allocations: 0.519 MB / 5.733 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/17.26, allocations: 0.8969 MB / 5.734 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/17.27, allocations: 5.606 MB / 5.74 GB, free: 55.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0073/17.28, allocations: 347.1 kB / 5.74 GB, free: 55.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/17.28, allocations: 192.2 kB / 5.74 GB, free: 55.64 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaWat.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 116 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (462): * Single equations (assignments): 451 * Array equations: 3 * Algorithm blocks: 2 * 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 {2 9,1 2,1 2,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001424/17.28, allocations: 214.9 kB / 5.74 GB, free: 55.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/17.28, allocations: 0.532 MB / 5.741 GB, free: 55.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/17.3, allocations: 5.236 MB / 5.746 GB, free: 54.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/17.3, allocations: 38.09 kB / 5.746 GB, free: 54.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/17.3, allocations: 3.031 kB / 5.746 GB, free: 54.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009278/17.31, allocations: 4.049 MB / 5.75 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/17.33, allocations: 9.828 MB / 5.76 GB, free: 53.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/17.33, allocations: 2.594 kB / 5.76 GB, free: 53.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00406/17.34, allocations: 0.6881 MB / 5.76 GB, free: 53.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/17.34, allocations: 0.6042 MB / 5.761 GB, free: 53.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005708/17.34, allocations: 65.33 kB / 5.761 GB, free: 53.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/17.35, allocations: 7.73 MB / 5.769 GB, free: 47.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.088e-06/17.35, allocations: 7.594 kB / 5.769 GB, free: 47.76 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01688/17.37, allocations: 7.632 MB / 5.776 GB, free: 46.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003908/17.37, allocations: 1.141 MB / 5.777 GB, free: 45.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/17.37, allocations: 16.3 kB / 5.777 GB, free: 45.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005789/17.38, allocations: 392 kB / 5.778 GB, free: 45.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006398/17.38, allocations: 206.7 kB / 5.778 GB, free: 45.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004861/17.38, allocations: 146.9 kB / 5.778 GB, free: 45.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.006794/17.38, allocations: 2.952 MB / 5.781 GB, free: 45.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02739/17.41, allocations: 3.126 MB / 5.784 GB, free: 45.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.conTim1.tStart,weaDat.conTim.tStart,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTim.tStart,weaDat.conTim1.tStart,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 308 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 9 {2 9,1 2,1 2,1 4,1 4,1 4,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01896/17.43, allocations: 7.305 MB / 5.791 GB, free: 42.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02387/17.46, allocations: 7.356 MB / 5.798 GB, free: 41.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.414e-05/17.46, allocations: 10.78 kB / 5.798 GB, free: 41.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00701/17.46, allocations: 2.259 MB / 5.8 GB, free: 41.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01712/17.48, allocations: 2.254 MB / 5.803 GB, free: 41.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04077/17.52, allocations: 10.33 MB / 5.813 GB, free: 39.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008226/17.53, allocations: 4.247 MB / 5.817 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.823e-06/17.53, allocations: 0 / 5.817 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.8025/18.33, allocations: 158.9 MB / 5.972 GB, free: 78.66 MB / 0.6511 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.SimpleHouse.pipe 2>&1)