Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") [: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.229/2.229, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001668/0.001668, allocations: 193.9 kB / 319.6 MB, free: 3.312 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.817/1.817, 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.001757/0.001756, allocations: 95.36 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.098e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.441/6.651, allocations: 2.511 GB / 3.399 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/6.651, allocations: 95.19 kB / 3.4 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 12.86/19.51, allocations: 2.608 GB / 6.008 GB, free: 96.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001491/19.51, allocations: 164.3 kB / 6.008 GB, free: 96.88 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.02996/19.54, allocations: 6.162 MB / 6.014 GB, free: 95.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/19.54, allocations: 11.47 kB / 6.014 GB, free: 95.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/19.56, allocations: 1.539 MB / 6.015 GB, free: 94.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02936/19.59, allocations: 7.586 MB / 6.023 GB, free: 93.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/19.59, allocations: 155.5 kB / 6.023 GB, free: 93.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/19.59, allocations: 301.5 kB / 6.023 GB, free: 93.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/19.61, allocations: 5.569 MB / 6.029 GB, free: 93.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02401/19.63, allocations: 6.08 MB / 6.035 GB, free: 93.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/19.63, allocations: 5.844 kB / 6.035 GB, free: 93.22 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001461/19.63, allocations: 3.938 kB / 6.035 GB, free: 93.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/19.63, allocations: 230 kB / 6.035 GB, free: 93.21 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0706/19.7, allocations: 28.61 MB / 6.063 GB, free: 82.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006946/19.71, allocations: 2.587 MB / 6.065 GB, free: 82.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006439/19.72, allocations: 2.522 MB / 6.068 GB, free: 82.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/19.72, allocations: 1.092 MB / 6.069 GB, free: 81.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006854/19.73, allocations: 2.349 MB / 6.071 GB, free: 81.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=326): time 8.106e-06/19.73, allocations: 0.75 kB / 6.071 GB, free: 81.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=330): time 0.04912/19.78, allocations: 11.45 MB / 6.082 GB, free: 78.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/19.78, allocations: 292.1 kB / 6.083 GB, free: 77.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/19.79, allocations: 4.273 MB / 6.087 GB, free: 77.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/19.79, allocations: 29.39 kB / 6.087 GB, free: 77.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004386/19.8, allocations: 1.794 MB / 6.088 GB, free: 76.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004033/19.8, allocations: 1.095 MB / 6.09 GB, free: 75.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/19.8, allocations: 0 / 6.09 GB, free: 75.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000401/19.8, allocations: 445.4 kB / 6.09 GB, free: 75.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005275/19.81, allocations: 1.784 MB / 6.092 GB, free: 75.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006661/19.81, allocations: 2.683 MB / 6.094 GB, free: 74.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008025/19.82, allocations: 2.378 MB / 6.097 GB, free: 74.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.183e-05/19.82, allocations: 6.062 kB / 6.097 GB, free: 74.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.03139/19.85, allocations: 5.046 MB / 6.102 GB, free: 74.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005828/19.86, allocations: 6.334 MB / 6.108 GB, free: 67.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/19.86, allocations: 14.31 kB / 6.108 GB, free: 67.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/19.86, allocations: 226.3 kB / 6.108 GB, free: 67.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/19.88, allocations: 0.7334 MB / 6.109 GB, free: 67.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/19.89, allocations: 3.373 MB / 6.112 GB, free: 64.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01772/19.91, allocations: 492.5 kB / 6.112 GB, free: 64.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/19.91, allocations: 136.9 kB / 6.113 GB, free: 64.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/19.91, allocations: 3.906 kB / 6.113 GB, free: 64.93 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0144/19.93, allocations: 4.483 MB / 6.117 GB, free: 64.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.807e-05/19.93, allocations: 17.23 kB / 6.117 GB, free: 64.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/19.93, allocations: 225.7 kB / 6.117 GB, free: 64.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006939/19.93, allocations: 0.7288 MB / 6.118 GB, free: 64.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/19.94, allocations: 3.922 MB / 6.122 GB, free: 62.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/19.95, allocations: 482.2 kB / 6.122 GB, free: 62.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/19.95, allocations: 135 kB / 6.122 GB, free: 62.22 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (399): * Single equations (assignments): 393 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001488/19.95, allocations: 219.5 kB / 6.123 GB, free: 62.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002556/19.96, allocations: 499.4 kB / 6.123 GB, free: 61.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/19.97, allocations: 4.802 MB / 6.128 GB, free: 61.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.736e-05/19.97, allocations: 31.12 kB / 6.128 GB, free: 61.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/19.97, allocations: 7.828 kB / 6.128 GB, free: 61.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01144/19.98, allocations: 4.014 MB / 6.132 GB, free: 61.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03508/20.02, allocations: 11.55 MB / 6.143 GB, free: 60.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/20.02, allocations: 11.62 kB / 6.143 GB, free: 60.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007423/20.03, allocations: 0.707 MB / 6.144 GB, free: 60.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008628/20.03, allocations: 178 kB / 6.144 GB, free: 60.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007267/20.03, allocations: 55.47 kB / 6.144 GB, free: 60.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/20.03, allocations: 3.243 MB / 6.147 GB, free: 58.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/20.03, allocations: 5.719 kB / 6.147 GB, free: 58.05 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0202/20.05, allocations: 8.181 MB / 6.155 GB, free: 56.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006006/20.06, allocations: 1.245 MB / 6.156 GB, free: 56.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00226/20.06, allocations: 28.31 kB / 6.156 GB, free: 56.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01219/20.07, allocations: 417.8 kB / 6.157 GB, free: 56.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001667/20.08, allocations: 179.1 kB / 6.157 GB, free: 56.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001051/20.08, allocations: 121.5 kB / 6.157 GB, free: 56.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.01073/20.09, allocations: 3.313 MB / 6.16 GB, free: 56.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01992/20.11, allocations: 2.923 MB / 6.163 GB, free: 56 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007511/20.11, allocations: 3.451 MB / 6.166 GB, free: 54.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01994/20.13, allocations: 7.268 MB / 6.174 GB, free: 54.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/20.13, allocations: 6.031 kB / 6.174 GB, free: 54.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006129/20.14, allocations: 2.311 MB / 6.176 GB, free: 54.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02666/20.17, allocations: 2.806 MB / 6.179 GB, free: 54.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04061/20.21, allocations: 11.83 MB / 6.19 GB, free: 51.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0139/20.22, allocations: 5.132 MB / 6.195 GB, free: 51.12 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/20.22, allocations: 0 / 6.195 GB, free: 51.12 MB / 0.948 GB Notification: Performance of Templates: time 0.3664/20.59, allocations: 145.3 MB / 6.337 GB, free: 13.88 MB / 0.9636 GB