Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") [: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.489/2.489, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.001636/0.001636, allocations: 189.2 kB / 319.6 MB, free: 3.289 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.991/1.991, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001931/0.001931, allocations: 97.27 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.056e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2109, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.648/1.859, allocations: 0.5948 GB / 1.483 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.859, allocations: 90.62 kB / 1.483 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9673/2.827, allocations: 161.1 MB / 1.64 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.442e-05/2.827, allocations: 19.3 kB / 1.64 GB, free: 206.4 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001985/2.829, allocations: 0.9455 MB / 1.641 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/2.829, allocations: 9.406 kB / 1.641 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/2.833, allocations: 298.5 kB / 1.642 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/2.835, allocations: 0.6846 MB / 1.642 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/2.835, allocations: 16.12 kB / 1.642 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/2.836, allocations: 25.47 kB / 1.642 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008969/2.836, allocations: 289.8 kB / 1.643 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/2.838, allocations: 449.7 kB / 1.643 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/2.838, allocations: 0 / 1.643 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/2.838, allocations: 0 / 1.643 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/2.838, allocations: 18.19 kB / 1.643 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/2.842, allocations: 2.723 MB / 1.646 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/2.842, allocations: 196.6 kB / 1.646 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/2.843, allocations: 131.7 kB / 1.646 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/2.843, allocations: 0.6599 MB / 1.647 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/2.843, allocations: 42.36 kB / 1.647 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/2.843, allocations: 0 / 1.647 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.008896/2.852, allocations: 1.665 MB / 1.648 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/2.852, allocations: 84.11 kB / 1.648 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/2.853, allocations: 401.8 kB / 1.649 GB, free: 202 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.07e-05/2.853, allocations: 25.7 kB / 1.649 GB, free: 202 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/2.853, allocations: 250.3 kB / 1.649 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/2.854, allocations: 140.2 kB / 1.649 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/2.854, allocations: 0 / 1.649 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000113/2.854, allocations: 358.2 kB / 1.649 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/2.854, allocations: 144.6 kB / 1.65 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/2.855, allocations: 268.6 kB / 1.65 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/2.855, allocations: 208.6 kB / 1.65 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/2.855, allocations: 3.906 kB / 1.65 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002826/2.858, allocations: 0.6608 MB / 1.651 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003146/2.859, allocations: 1.225 MB / 1.652 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/2.859, allocations: 3.625 kB / 1.652 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/2.86, allocations: 254.7 kB / 1.652 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/2.861, allocations: 74.89 kB / 1.652 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00773/2.869, allocations: 3.853 MB / 1.656 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/2.871, allocations: 81.39 kB / 1.656 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/2.871, allocations: 25.66 kB / 1.656 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/2.871, allocations: 6.156 kB / 1.656 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002625/2.874, allocations: 0.5814 MB / 1.657 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/2.874, allocations: 0 / 1.657 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/2.875, allocations: 262.2 kB / 1.657 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/2.876, allocations: 63.67 kB / 1.657 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/2.883, allocations: 3.86 MB / 1.661 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/2.886, allocations: 78.5 kB / 1.661 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/2.886, allocations: 18.91 kB / 1.661 GB, free: 194.7 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002891/2.886, allocations: 125.3 kB / 1.661 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/2.886, allocations: 58.09 kB / 1.661 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/2.889, allocations: 0.6191 MB / 1.662 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/2.889, allocations: 6.828 kB / 1.662 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.889, allocations: 2.938 kB / 1.662 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00238/2.892, allocations: 0.6991 MB / 1.662 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/2.897, allocations: 1.556 MB / 1.664 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/2.897, allocations: 3.75 kB / 1.664 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/2.897, allocations: 60.86 kB / 1.664 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/2.899, allocations: 230.4 kB / 1.664 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/2.899, allocations: 10.52 kB / 1.664 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007225/2.906, allocations: 3.638 MB / 1.668 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.906, allocations: 3.938 kB / 1.668 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003144/2.909, allocations: 0.8841 MB / 1.669 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/2.91, allocations: 195.8 kB / 1.669 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/2.91, allocations: 0 / 1.669 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/2.912, allocations: 75.3 kB / 1.669 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/2.912, allocations: 18.97 kB / 1.669 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/2.912, allocations: 15.28 kB / 1.669 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005701/2.913, allocations: 307.5 kB / 1.669 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002838/2.916, allocations: 442.7 kB / 1.67 GB, free: 190.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/2.917, allocations: 319.7 kB / 1.67 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004326/2.921, allocations: 1.172 MB / 1.671 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/2.921, allocations: 0 / 1.671 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/2.923, allocations: 481.6 kB / 1.671 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/2.926, allocations: 323.9 kB / 1.672 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/2.929, allocations: 0.9215 MB / 1.673 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007609/2.93, allocations: 0.9714 MB / 1.674 GB, free: 189 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/2.93, allocations: 0 / 1.674 GB, free: 189 MB / 0.8698 GB Notification: Performance of Templates: time 0.04538/2.976, allocations: 18.42 MB / 1.692 GB, free: 187.8 MB / 0.8698 GB