Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.543/1.543, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001412/0.001412, allocations: 189.2 kB / 361.1 MB, free: 7.066 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.758/1.758, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008813/0.0008815, allocations: 85.56 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.85e-05, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8089, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.33/6.139, allocations: 2.375 GB / 3.338 GB, free: 85.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/6.139, allocations: 90.08 kB / 3.338 GB, free: 85.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.313/15.45, allocations: 2.421 GB / 5.759 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001263/15.45, allocations: 141 kB / 5.759 GB, free: 96.66 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.02468/15.48, allocations: 5.666 MB / 5.765 GB, free: 94.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/15.48, allocations: 8.094 kB / 5.765 GB, free: 94.66 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/15.49, allocations: 1.448 MB / 5.766 GB, free: 94.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/15.51, allocations: 7.19 MB / 5.773 GB, free: 93.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/15.51, allocations: 149.1 kB / 5.774 GB, free: 93.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/15.52, allocations: 285.8 kB / 5.774 GB, free: 93.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01403/15.53, allocations: 5.399 MB / 5.779 GB, free: 93.42 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/15.55, allocations: 5.827 MB / 5.785 GB, free: 93.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/15.55, allocations: 5.469 kB / 5.785 GB, free: 93.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/15.55, allocations: 12.28 kB / 5.785 GB, free: 93.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/15.55, allocations: 218.7 kB / 5.785 GB, free: 93.03 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.056/15.61, allocations: 27.08 MB / 5.812 GB, free: 83.09 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/15.62, allocations: 2.497 MB / 5.814 GB, free: 83.06 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/15.62, allocations: 2.43 MB / 5.816 GB, free: 83.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/15.62, allocations: 1.097 MB / 5.817 GB, free: 81.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003664/15.62, allocations: 2.304 MB / 5.82 GB, free: 81.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 6.242e-06/15.62, allocations: 0 / 5.82 GB, free: 81.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.03312/15.66, allocations: 11.17 MB / 5.831 GB, free: 78.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/15.66, allocations: 191.5 kB / 5.831 GB, free: 78.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00815/15.67, allocations: 3.949 MB / 5.835 GB, free: 78.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001284/15.67, allocations: 33.11 kB / 5.835 GB, free: 78.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002529/15.67, allocations: 1.666 MB / 5.836 GB, free: 77.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002953/15.67, allocations: 1.046 MB / 5.837 GB, free: 76.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/15.67, allocations: 3.875 kB / 5.837 GB, free: 76.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002804/15.67, allocations: 433.9 kB / 5.838 GB, free: 76.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/15.68, allocations: 1.731 MB / 5.839 GB, free: 76.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/15.68, allocations: 2.528 MB / 5.842 GB, free: 75.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/15.68, allocations: 2.366 MB / 5.844 GB, free: 75.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/15.68, allocations: 6.812 kB / 5.844 GB, free: 75.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.009166/15.69, allocations: 4.819 MB / 5.849 GB, free: 75.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001513/15.69, allocations: 5.759 MB / 5.854 GB, free: 69.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/15.69, allocations: 21.58 kB / 5.855 GB, free: 69.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/15.69, allocations: 119.8 kB / 5.855 GB, free: 69.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/15.7, allocations: 0.6916 MB / 5.855 GB, free: 69.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/15.7, allocations: 2.616 MB / 5.858 GB, free: 67.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007725/15.71, allocations: 440.3 kB / 5.858 GB, free: 67.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/15.71, allocations: 126 kB / 5.858 GB, free: 67.67 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/15.71, allocations: 2.406 kB / 5.858 GB, free: 67.67 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/15.72, allocations: 4.335 MB / 5.863 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/15.72, allocations: 11 kB / 5.863 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/15.72, allocations: 132.6 kB / 5.863 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/15.72, allocations: 0.678 MB / 5.863 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/15.73, allocations: 1.991 MB / 5.865 GB, free: 66.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007964/15.73, allocations: 422.1 kB / 5.866 GB, free: 66.26 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/15.74, allocations: 127.6 kB / 5.866 GB, free: 66.26 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.002133/15.74, allocations: 243.2 kB / 5.866 GB, free: 66.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002801/15.74, allocations: 452.1 kB / 5.867 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/15.75, allocations: 4.677 MB / 5.871 GB, free: 65.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.985e-05/15.75, allocations: 30.62 kB / 5.871 GB, free: 65.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.463e-05/15.75, allocations: 2.656 kB / 5.871 GB, free: 65.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009823/15.76, allocations: 3.945 MB / 5.875 GB, free: 65.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03439/15.8, allocations: 11.31 MB / 5.886 GB, free: 64.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/15.8, allocations: 3.656 kB / 5.886 GB, free: 64.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/15.8, allocations: 0.6788 MB / 5.887 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/15.8, allocations: 114.9 kB / 5.887 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008333/15.8, allocations: 48.55 kB / 5.887 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/15.81, allocations: 2.59 MB / 5.889 GB, free: 62.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/15.81, allocations: 6.594 kB / 5.889 GB, free: 62.5 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01758/15.82, allocations: 7.895 MB / 5.897 GB, free: 61.21 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005578/15.83, allocations: 1.174 MB / 5.898 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/15.83, allocations: 29.33 kB / 5.898 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006763/15.84, allocations: 397 kB / 5.899 GB, free: 60.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007297/15.84, allocations: 168.4 kB / 5.899 GB, free: 60.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007168/15.84, allocations: 120.9 kB / 5.899 GB, free: 60.86 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0084/15.85, allocations: 3.073 MB / 5.902 GB, free: 59.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01867/15.87, allocations: 2.702 MB / 5.905 GB, free: 59.51 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.006805/15.88, allocations: 3.092 MB / 5.908 GB, free: 58.43 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01698/15.89, allocations: 6.889 MB / 5.914 GB, free: 55.94 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.577e-05/15.89, allocations: 5.906 kB / 5.914 GB, free: 55.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006128/15.9, allocations: 2.282 MB / 5.917 GB, free: 55.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01781/15.92, allocations: 2.659 MB / 5.919 GB, free: 54.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/15.96, allocations: 11.33 MB / 5.93 GB, free: 51.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01356/15.98, allocations: 4.888 MB / 5.935 GB, free: 49.4 MB / 0.9948 GB Notification: Performance of SimCode: time 2.114e-06/15.98, allocations: 0 / 5.935 GB, free: 49.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.8431/16.82, allocations: 135.3 MB / 6.067 GB, free: 194 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)