Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.121/2.121, allocations: 253.1 MB / 260.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 189 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 92.39 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.017e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2325, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.435/6.668, allocations: 2.492 GB / 3.38 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/6.668, allocations: 89.2 kB / 3.38 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 11.34/18.01, allocations: 2.359 GB / 5.739 GB, free: 84.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001338/18.01, allocations: 154.8 kB / 5.739 GB, free: 84.29 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02681/18.04, allocations: 5.677 MB / 5.745 GB, free: 82.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/18.04, allocations: 12.59 kB / 5.745 GB, free: 82.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/18.05, allocations: 1.451 MB / 5.746 GB, free: 81.74 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02684/18.08, allocations: 7.226 MB / 5.753 GB, free: 80.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/18.08, allocations: 146.6 kB / 5.753 GB, free: 80.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/18.08, allocations: 276.4 kB / 5.754 GB, free: 80.87 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01912/18.1, allocations: 5.433 MB / 5.759 GB, free: 80.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/18.12, allocations: 5.861 MB / 5.765 GB, free: 80.46 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/18.12, allocations: 7.656 kB / 5.765 GB, free: 80.46 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/18.12, allocations: 6.25 kB / 5.765 GB, free: 80.46 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002544/18.12, allocations: 216.6 kB / 5.765 GB, free: 80.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06562/18.19, allocations: 27.09 MB / 5.791 GB, free: 70.51 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/18.2, allocations: 2.506 MB / 5.794 GB, free: 70.48 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005886/18.2, allocations: 2.413 MB / 5.796 GB, free: 70.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/18.2, allocations: 1.095 MB / 5.797 GB, free: 69.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006638/18.21, allocations: 2.312 MB / 5.799 GB, free: 69.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=313): time 8.436e-06/18.21, allocations: 2.438 kB / 5.799 GB, free: 69.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317): time 0.04709/18.26, allocations: 11.14 MB / 5.81 GB, free: 66.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/18.26, allocations: 201.9 kB / 5.811 GB, free: 66.18 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/18.27, allocations: 3.971 MB / 5.814 GB, free: 65.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/18.27, allocations: 32.27 kB / 5.814 GB, free: 65.87 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003149/18.27, allocations: 1.682 MB / 5.816 GB, free: 65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003274/18.28, allocations: 1.043 MB / 5.817 GB, free: 64.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/18.28, allocations: 0 / 5.817 GB, free: 64.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003124/18.28, allocations: 439.6 kB / 5.817 GB, free: 64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/18.28, allocations: 1.722 MB / 5.819 GB, free: 63.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005804/18.29, allocations: 2.508 MB / 5.822 GB, free: 63.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007407/18.3, allocations: 2.361 MB / 5.824 GB, free: 63.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-05/18.3, allocations: 3.969 kB / 5.824 GB, free: 63.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.01595/18.31, allocations: 4.802 MB / 5.829 GB, free: 62.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/18.31, allocations: 5.757 MB / 5.834 GB, free: 56.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.5e-05/18.31, allocations: 14 kB / 5.834 GB, free: 56.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/18.31, allocations: 127.2 kB / 5.834 GB, free: 56.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006899/18.32, allocations: 0.6915 MB / 5.835 GB, free: 56.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/18.32, allocations: 2.613 MB / 5.838 GB, free: 55.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/18.34, allocations: 444.2 kB / 5.838 GB, free: 55.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/18.34, allocations: 128.8 kB / 5.838 GB, free: 55.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/18.34, allocations: 3.188 kB / 5.838 GB, free: 55.05 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01506/18.35, allocations: 4.32 MB / 5.842 GB, free: 54.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.714e-05/18.35, allocations: 11.44 kB / 5.842 GB, free: 54.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/18.35, allocations: 124.5 kB / 5.843 GB, free: 54.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006958/18.36, allocations: 0.6783 MB / 5.843 GB, free: 54.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/18.36, allocations: 2.002 MB / 5.845 GB, free: 53.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/18.37, allocations: 423.5 kB / 5.846 GB, free: 53.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/18.37, allocations: 127.3 kB / 5.846 GB, free: 53.64 MB / 0.9167 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.001332/18.38, allocations: 245.2 kB / 5.846 GB, free: 53.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/18.38, allocations: 451.5 kB / 5.846 GB, free: 53.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/18.39, allocations: 4.657 MB / 5.851 GB, free: 51.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/18.39, allocations: 35.92 kB / 5.851 GB, free: 51.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/18.39, allocations: 2.125 kB / 5.851 GB, free: 51.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01352/18.41, allocations: 3.925 MB / 5.855 GB, free: 50.45 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03802/18.45, allocations: 11.28 MB / 5.866 GB, free: 45.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/18.45, allocations: 3.969 kB / 5.866 GB, free: 45.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007599/18.45, allocations: 0.6755 MB / 5.866 GB, free: 45.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006688/18.45, allocations: 115.2 kB / 5.867 GB, free: 45.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008407/18.46, allocations: 51.2 kB / 5.867 GB, free: 45.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/18.46, allocations: 2.596 MB / 5.869 GB, free: 43.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/18.46, allocations: 4.531 kB / 5.869 GB, free: 43.56 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0253/18.48, allocations: 7.857 MB / 5.877 GB, free: 40.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005985/18.49, allocations: 1.194 MB / 5.878 GB, free: 39.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002421/18.49, allocations: 32.02 kB / 5.878 GB, free: 39.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009342/18.5, allocations: 402.8 kB / 5.878 GB, free: 39.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/18.5, allocations: 166.3 kB / 5.879 GB, free: 39.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006323/18.5, allocations: 121.5 kB / 5.879 GB, free: 39.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.009081/18.51, allocations: 3.095 MB / 5.882 GB, free: 36.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01816/18.53, allocations: 2.703 MB / 5.884 GB, free: 33.97 MB / 0.9167 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.006602/18.54, allocations: 3.102 MB / 5.887 GB, free: 31.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01781/18.56, allocations: 6.865 MB / 5.894 GB, free: 25.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/18.56, allocations: 0 / 5.894 GB, free: 25.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005645/18.56, allocations: 2.281 MB / 5.896 GB, free: 23.38 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02539/18.59, allocations: 2.647 MB / 5.899 GB, free: 21.58 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/18.63, allocations: 11.37 MB / 5.91 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01304/18.64, allocations: 4.905 MB / 5.915 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of SimCode: time 1.523e-06/18.64, allocations: 3.031 kB / 5.915 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of Templates: time 0.9299/19.57, allocations: 135.4 MB / 6.047 GB, free: 179.3 MB / 0.9323 GB