Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse") translateModel(IDEAS.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 181.7 kB / 7.46 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6011/0.6011, allocations: 133.5 MB / 141.4 MB, free: 15.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008392, allocations: 97.52 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/6.041e-06, allocations: 2.719 kB / 0.5528 GB, free: 88.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.19/3.3, allocations: 2.202 GB / 2.836 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/3.3, allocations: 87.95 kB / 2.836 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 10.48/13.78, allocations: 3.754 GB / 6.59 GB, free: 56.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001374/13.78, allocations: 181.1 kB / 6.59 GB, free: 56.33 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.02313/13.8, allocations: 6.767 MB / 6.597 GB, free: 53.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/13.8, allocations: 8.562 kB / 6.597 GB, free: 53.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/13.81, allocations: 2.233 MB / 6.599 GB, free: 52.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02283/13.84, allocations: 7.884 MB / 6.606 GB, free: 51.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/13.84, allocations: 158.2 kB / 6.607 GB, free: 51.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/13.84, allocations: 283.7 kB / 6.607 GB, free: 51.84 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01145/13.85, allocations: 4.948 MB / 6.612 GB, free: 51.81 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/13.86, allocations: 5.225 MB / 6.617 GB, free: 51.07 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/13.87, allocations: 10.44 kB / 6.617 GB, free: 51.07 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/13.87, allocations: 18 kB / 6.617 GB, free: 51.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/13.87, allocations: 201.2 kB / 6.617 GB, free: 51.05 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04511/13.91, allocations: 26.3 MB / 6.643 GB, free: 38.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/13.92, allocations: 2.534 MB / 6.645 GB, free: 38.67 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003574/13.92, allocations: 2.152 MB / 6.647 GB, free: 38.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01945/13.94, allocations: 8.315 MB / 6.655 GB, free: 36.95 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003062/13.94, allocations: 2.035 MB / 6.657 GB, free: 36.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=303): time 7.554e-06/13.94, allocations: 3.781 kB / 6.657 GB, free: 36.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=304): time 0.02349/13.97, allocations: 8.792 MB / 6.666 GB, free: 35.04 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/13.97, allocations: 369.9 kB / 6.666 GB, free: 34.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009973/13.98, allocations: 4.15 MB / 6.67 GB, free: 34.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/13.98, allocations: 32.11 kB / 6.67 GB, free: 34.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002651/13.98, allocations: 1.877 MB / 6.672 GB, free: 33.24 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/13.98, allocations: 0.9888 MB / 6.673 GB, free: 32.58 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005914/13.98, allocations: 0 / 6.673 GB, free: 32.58 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003156/13.98, allocations: 459 kB / 6.674 GB, free: 32.27 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/13.99, allocations: 1.535 MB / 6.675 GB, free: 32.26 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/13.99, allocations: 2.719 MB / 6.678 GB, free: 30.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/13.99, allocations: 2.119 MB / 6.68 GB, free: 30.85 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/13.99, allocations: 7.75 kB / 6.68 GB, free: 30.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01189/14.01, allocations: 5.102 MB / 6.685 GB, free: 30.42 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002309/14.01, allocations: 13.13 MB / 6.698 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/14.01, allocations: 27.59 kB / 6.698 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/14.01, allocations: 0.5079 MB / 6.698 GB, free: 16.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/14.01, allocations: 0.8872 MB / 6.699 GB, free: 16.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/14.02, allocations: 5.61 MB / 6.705 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006519/14.03, allocations: 412.6 kB / 6.705 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006717/14.03, allocations: 194.6 kB / 6.705 GB, free: 12.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/14.03, allocations: 5.094 kB / 6.705 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009988/14.04, allocations: 4.342 MB / 6.709 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.382e-05/14.04, allocations: 30.16 kB / 6.709 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/14.04, allocations: 0.5128 MB / 6.71 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/14.04, allocations: 0.8668 MB / 6.711 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/14.05, allocations: 5.621 MB / 6.716 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/14.06, allocations: 370.1 kB / 6.717 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006377/14.06, allocations: 185.2 kB / 6.717 GB, free: 24.4 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 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 (444): * Single equations (assignments): 437 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001483/14.06, allocations: 219.2 kB / 6.717 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/14.06, allocations: 0.5462 MB / 6.717 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/14.07, allocations: 4.736 MB / 6.722 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/14.07, allocations: 31.91 kB / 6.722 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/14.07, allocations: 5.938 kB / 6.722 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007029/14.08, allocations: 3.612 MB / 6.726 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/14.1, allocations: 9.316 MB / 6.735 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/14.1, allocations: 6.094 kB / 6.735 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/14.1, allocations: 0.6349 MB / 6.735 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/14.11, allocations: 487.2 kB / 6.736 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003165/14.11, allocations: 55.42 kB / 6.736 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00961/14.12, allocations: 11.25 MB / 6.747 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/14.12, allocations: 5.812 kB / 6.747 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01367/14.13, allocations: 6.901 MB / 6.754 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/14.13, allocations: 1.151 MB / 6.755 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002091/14.14, allocations: 17.41 kB / 6.755 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005822/14.14, allocations: 365.2 kB / 6.755 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004558/14.14, allocations: 188.3 kB / 6.755 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005479/14.14, allocations: 149.7 kB / 6.755 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.007459/14.15, allocations: 3.111 MB / 6.759 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01734/14.17, allocations: 3.171 MB / 6.762 GB, free: 11.04 MB / 0.8386 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.s[1],vavDam.filter.s[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 (316): * Single equations (assignments): 302 * 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.01239/14.18, allocations: 7.215 MB / 6.769 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01319/14.19, allocations: 6.758 MB / 6.775 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/14.19, allocations: 4.781 kB / 6.775 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/14.2, allocations: 2.606 MB / 6.778 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01153/14.21, allocations: 2.27 MB / 6.78 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/14.24, allocations: 10.35 MB / 6.79 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007955/14.25, allocations: 4.314 MB / 6.794 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/14.25, allocations: 4.906 kB / 6.794 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of Templates: time 0.6337/14.88, allocations: 156.8 MB / 6.947 GB, free: 120.5 MB / 0.8542 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe 2>&1)