Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") [: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.406/2.406, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.001664/0.001664, allocations: 181.3 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.888/1.888, 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.001309/0.001308, allocations: 94.5 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.737e-06/8.966e-06, allocations: 0 / 0.7843 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 106.3 MB / 0.888 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.543/1.762, allocations: 0.5051 GB / 1.393 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004179/1.762, allocations: 86.2 kB / 1.393 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.517/4.279, allocations: 0.5686 GB / 1.962 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.099e-05/4.279, allocations: 23.92 kB / 1.962 GB, free: 1.496 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.3558/4.635, allocations: 1.541 MB / 1.963 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/4.635, allocations: 11.16 kB / 1.963 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/4.637, allocations: 140.4 kB / 1.964 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09743/4.734, allocations: 30.37 MB / 1.993 GB, free: 294.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/4.734, allocations: 13.78 kB / 1.993 GB, free: 294.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/4.734, allocations: 26.12 kB / 1.993 GB, free: 294.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009427/4.735, allocations: 299.4 kB / 1.993 GB, free: 294.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/4.736, allocations: 444.4 kB / 1.994 GB, free: 294.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/4.737, allocations: 10.81 kB / 1.994 GB, free: 294.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/4.737, allocations: 0 / 1.994 GB, free: 294.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/4.737, allocations: 15.62 kB / 1.994 GB, free: 294.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/4.741, allocations: 2.214 MB / 1.996 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/4.741, allocations: 189.2 kB / 1.996 GB, free: 293 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/4.741, allocations: 126.9 kB / 1.996 GB, free: 293 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/4.743, allocations: 2.01 MB / 1.998 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/4.743, allocations: 34.56 kB / 1.998 GB, free: 290.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.806e-06/4.743, allocations: 7.094 kB / 1.998 GB, free: 290.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.008961/4.752, allocations: 1.754 MB / 2 GB, free: 290.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/4.752, allocations: 54.56 kB / 2 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/4.753, allocations: 416.3 kB / 2.001 GB, free: 290 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.97e-05/4.753, allocations: 28.33 kB / 2.001 GB, free: 289.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/4.753, allocations: 242.5 kB / 2.001 GB, free: 289.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/4.753, allocations: 151.7 kB / 2.001 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/4.753, allocations: 3.938 kB / 2.001 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001105/4.753, allocations: 362.1 kB / 2.001 GB, free: 289.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/4.754, allocations: 135.7 kB / 2.001 GB, free: 289.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/4.754, allocations: 252 kB / 2.002 GB, free: 289.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/4.756, allocations: 254.6 kB / 2.002 GB, free: 289.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/4.756, allocations: 0 / 2.002 GB, free: 289.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003068/4.759, allocations: 0.648 MB / 2.003 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002871/4.759, allocations: 1.144 MB / 2.004 GB, free: 288 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/4.759, allocations: 3.594 kB / 2.004 GB, free: 288 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008535/4.76, allocations: 181.1 kB / 2.004 GB, free: 288 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/4.761, allocations: 77.3 kB / 2.004 GB, free: 288 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/4.763, allocations: 1.422 MB / 2.005 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009003/4.764, allocations: 27.72 kB / 2.005 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/4.764, allocations: 39.55 kB / 2.005 GB, free: 287 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/4.764, allocations: 3.938 kB / 2.005 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002558/4.766, allocations: 0.5481 MB / 2.006 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/4.766, allocations: 3.75 kB / 2.006 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008022/4.767, allocations: 180.4 kB / 2.006 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/4.768, allocations: 73.59 kB / 2.006 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/4.77, allocations: 1.417 MB / 2.008 GB, free: 285.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/4.77, allocations: 28.3 kB / 2.008 GB, free: 285.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/4.771, allocations: 37.25 kB / 2.008 GB, free: 285.9 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/4.771, allocations: 133 kB / 2.008 GB, free: 285.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/4.771, allocations: 79.5 kB / 2.008 GB, free: 285.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/4.776, allocations: 0.9535 MB / 2.009 GB, free: 285.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/4.776, allocations: 13.91 kB / 2.009 GB, free: 285.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/4.776, allocations: 0 / 2.009 GB, free: 285.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002733/4.779, allocations: 0.8192 MB / 2.01 GB, free: 285.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/4.784, allocations: 1.566 MB / 2.011 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/4.784, allocations: 0 / 2.011 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/4.784, allocations: 50.73 kB / 2.011 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/4.785, allocations: 168.4 kB / 2.011 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/4.785, allocations: 18.25 kB / 2.011 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/4.787, allocations: 1.409 MB / 2.013 GB, free: 284 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/4.787, allocations: 3.469 kB / 2.013 GB, free: 284 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0039/4.791, allocations: 1.122 MB / 2.014 GB, free: 283.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006039/4.792, allocations: 225.3 kB / 2.014 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/4.792, allocations: 0 / 2.014 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/4.793, allocations: 22.38 kB / 2.014 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/4.793, allocations: 34.61 kB / 2.014 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/4.793, allocations: 31.73 kB / 2.014 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005653/4.793, allocations: 317.3 kB / 2.014 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00331/4.797, allocations: 0.7057 MB / 2.015 GB, free: 283.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003337/4.8, allocations: 0.8223 MB / 2.016 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002443/4.802, allocations: 0.7456 MB / 2.017 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/4.803, allocations: 0 / 2.017 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009675/4.804, allocations: 299.4 kB / 2.017 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/4.806, allocations: 286.5 kB / 2.017 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/4.81, allocations: 1.012 MB / 2.018 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/4.811, allocations: 1.052 MB / 2.019 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of SimCode: time 3.206e-06/4.811, allocations: 0 / 2.019 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.05603/4.867, allocations: 22.55 MB / 2.041 GB, free: 282.1 MB / 0.8698 GB