Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") [: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.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0013/0.0013, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.64/1.64, allocations: 205.1 MB / 0.6256 GB, free: 7.543 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.001004/0.001004, allocations: 82.47 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.764e-06, allocations: 0 / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.8096, allocations: 116.3 MB / 0.9725 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.113/5.922, allocations: 2.376 GB / 3.348 GB, free: 63.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/5.923, allocations: 93.64 kB / 3.348 GB, free: 63.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.69/14.61, allocations: 2.421 GB / 5.769 GB, free: 88.72 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001622/14.61, allocations: 147.5 kB / 5.769 GB, free: 88.7 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.0284/14.64, allocations: 5.663 MB / 5.775 GB, free: 86.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/14.64, allocations: 10.06 kB / 5.775 GB, free: 86.63 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/14.66, allocations: 1.445 MB / 5.776 GB, free: 86.28 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02291/14.68, allocations: 7.194 MB / 5.783 GB, free: 85.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/14.68, allocations: 146.6 kB / 5.783 GB, free: 85.41 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/14.68, allocations: 284.7 kB / 5.784 GB, free: 85.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01414/14.7, allocations: 5.399 MB / 5.789 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/14.71, allocations: 5.834 MB / 5.795 GB, free: 85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/14.71, allocations: 6.969 kB / 5.795 GB, free: 85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005997/14.71, allocations: 7.844 kB / 5.795 GB, free: 85 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/14.71, allocations: 228.8 kB / 5.795 GB, free: 84.98 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04811/14.76, allocations: 27.04 MB / 5.821 GB, free: 75.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/14.77, allocations: 2.499 MB / 5.824 GB, free: 75.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/14.77, allocations: 2.431 MB / 5.826 GB, free: 75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/14.77, allocations: 1.093 MB / 5.827 GB, free: 73.88 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003481/14.77, allocations: 2.311 MB / 5.829 GB, free: 73.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 5.591e-06/14.77, allocations: 2.719 kB / 5.829 GB, free: 73.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.03105/14.81, allocations: 11.17 MB / 5.84 GB, free: 70.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/14.81, allocations: 194.1 kB / 5.841 GB, free: 70.76 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007237/14.81, allocations: 3.942 MB / 5.844 GB, free: 70.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/14.81, allocations: 36.42 kB / 5.844 GB, free: 70.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/14.82, allocations: 1.664 MB / 5.846 GB, free: 69.58 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002672/14.82, allocations: 1.051 MB / 5.847 GB, free: 68.88 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/14.82, allocations: 0 / 5.847 GB, free: 68.88 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002439/14.82, allocations: 435.8 kB / 5.848 GB, free: 68.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/14.82, allocations: 1.734 MB / 5.849 GB, free: 68.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/14.82, allocations: 2.525 MB / 5.852 GB, free: 67.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/14.83, allocations: 2.365 MB / 5.854 GB, free: 67.75 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/14.83, allocations: 11 kB / 5.854 GB, free: 67.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.008731/14.84, allocations: 4.825 MB / 5.859 GB, free: 67.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001174/14.84, allocations: 5.762 MB / 5.864 GB, free: 61.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/14.84, allocations: 12.81 kB / 5.864 GB, free: 61.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/14.84, allocations: 127.5 kB / 5.864 GB, free: 61.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/14.84, allocations: 0.6911 MB / 5.865 GB, free: 61.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/14.84, allocations: 2.609 MB / 5.868 GB, free: 59.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007154/14.85, allocations: 434.3 kB / 5.868 GB, free: 59.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009315/14.85, allocations: 126.3 kB / 5.868 GB, free: 59.64 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/14.85, allocations: 3.25 kB / 5.868 GB, free: 59.64 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008538/14.86, allocations: 4.34 MB / 5.872 GB, free: 59.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.391e-05/14.86, allocations: 16.59 kB / 5.872 GB, free: 59.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/14.86, allocations: 126 kB / 5.873 GB, free: 59.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/14.87, allocations: 0.6821 MB / 5.873 GB, free: 59.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/14.87, allocations: 1.995 MB / 5.875 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/14.87, allocations: 421.1 kB / 5.876 GB, free: 58.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008259/14.88, allocations: 131 kB / 5.876 GB, free: 58.23 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001151/14.88, allocations: 245.9 kB / 5.876 GB, free: 58.05 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/14.88, allocations: 448.5 kB / 5.876 GB, free: 57.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009044/14.89, allocations: 4.68 MB / 5.881 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/14.89, allocations: 30.22 kB / 5.881 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/14.89, allocations: 3.781 kB / 5.881 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006159/14.89, allocations: 3.941 MB / 5.885 GB, free: 57.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/14.92, allocations: 11.31 MB / 5.896 GB, free: 56.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/14.92, allocations: 6.812 kB / 5.896 GB, free: 56.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/14.92, allocations: 0.6722 MB / 5.897 GB, free: 56.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/14.92, allocations: 115.7 kB / 5.897 GB, free: 56.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/14.92, allocations: 50.06 kB / 5.897 GB, free: 56.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/14.92, allocations: 2.588 MB / 5.899 GB, free: 53.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/14.92, allocations: 3.906 kB / 5.899 GB, free: 53.86 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01329/14.94, allocations: 7.895 MB / 5.907 GB, free: 50.29 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004778/14.94, allocations: 1.172 MB / 5.908 GB, free: 49.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/14.95, allocations: 40.05 kB / 5.908 GB, free: 49.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005519/14.95, allocations: 391.8 kB / 5.909 GB, free: 49.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003976/14.95, allocations: 170.8 kB / 5.909 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003611/14.95, allocations: 120 kB / 5.909 GB, free: 49.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.006677/14.96, allocations: 3.073 MB / 5.912 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01775/14.98, allocations: 2.686 MB / 5.914 GB, free: 48.21 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006735/14.98, allocations: 3.095 MB / 5.917 GB, free: 47.13 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01281/15, allocations: 6.895 MB / 5.924 GB, free: 44.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/15, allocations: 2.344 kB / 5.924 GB, free: 44.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003264/15, allocations: 2.294 MB / 5.926 GB, free: 43.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/15.01, allocations: 2.639 MB / 5.929 GB, free: 43.35 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/15.04, allocations: 11.33 MB / 5.94 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007624/15.05, allocations: 4.892 MB / 5.945 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/15.05, allocations: 0 / 5.945 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of Templates: time 0.7552/15.81, allocations: 135.3 MB / 6.077 GB, free: 190.1 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)