Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001597/0.001597, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.697/1.697, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009069/0.0009069, allocations: 85.3 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.795e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6262, allocations: 116.3 MB / 0.9726 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9813/1.608, allocations: 0.5138 GB / 1.486 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.608, allocations: 90.81 kB / 1.486 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.987/3.595, allocations: 0.5686 GB / 2.055 GB, free: 246.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.184e-05/3.595, allocations: 17.88 kB / 2.055 GB, free: 246.6 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004307/3.6, allocations: 1.534 MB / 2.057 GB, free: 245.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/3.6, allocations: 13.84 kB / 2.057 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/3.601, allocations: 141.5 kB / 2.057 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06453/3.665, allocations: 30.37 MB / 2.086 GB, free: 235.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/3.665, allocations: 16.22 kB / 2.086 GB, free: 235.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/3.666, allocations: 25.75 kB / 2.086 GB, free: 235.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006021/3.666, allocations: 300.4 kB / 2.087 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/3.667, allocations: 452.1 kB / 2.087 GB, free: 235.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/3.667, allocations: 0 / 2.087 GB, free: 235.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/3.667, allocations: 0 / 2.087 GB, free: 235.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/3.667, allocations: 15.09 kB / 2.087 GB, free: 235.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/3.669, allocations: 2.22 MB / 2.089 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/3.67, allocations: 196 kB / 2.089 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/3.67, allocations: 125.4 kB / 2.09 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/3.671, allocations: 2.012 MB / 2.092 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/3.671, allocations: 40.16 kB / 2.092 GB, free: 230.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/3.671, allocations: 0 / 2.092 GB, free: 230.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.005782/3.677, allocations: 1.759 MB / 2.093 GB, free: 229.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/3.677, allocations: 54.44 kB / 2.093 GB, free: 229.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/3.678, allocations: 415.5 kB / 2.094 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/3.678, allocations: 25.7 kB / 2.094 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/3.678, allocations: 244.6 kB / 2.094 GB, free: 229 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/3.678, allocations: 144.9 kB / 2.094 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/3.678, allocations: 0 / 2.094 GB, free: 228.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/3.678, allocations: 363.2 kB / 2.095 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/3.678, allocations: 140.8 kB / 2.095 GB, free: 228.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/3.678, allocations: 258.5 kB / 2.095 GB, free: 228.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/3.679, allocations: 251.1 kB / 2.095 GB, free: 228.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/3.679, allocations: 3.938 kB / 2.095 GB, free: 228.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001794/3.681, allocations: 0.6497 MB / 2.096 GB, free: 227.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002695/3.682, allocations: 1.127 MB / 2.097 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/3.682, allocations: 6.578 kB / 2.097 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/3.682, allocations: 188.7 kB / 2.097 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/3.682, allocations: 76.91 kB / 2.097 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/3.684, allocations: 1.412 MB / 2.099 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/3.684, allocations: 29.56 kB / 2.099 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/3.684, allocations: 38.61 kB / 2.099 GB, free: 225.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/3.684, allocations: 4.25 kB / 2.099 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001577/3.686, allocations: 0.5586 MB / 2.099 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/3.686, allocations: 2.625 kB / 2.099 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/3.686, allocations: 175.1 kB / 2.099 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/3.687, allocations: 73.38 kB / 2.099 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/3.688, allocations: 1.417 MB / 2.101 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/3.688, allocations: 31.44 kB / 2.101 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/3.688, allocations: 34.53 kB / 2.101 GB, free: 223.6 MB / 0.948 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.000254/3.689, allocations: 126.6 kB / 2.101 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/3.689, allocations: 78.72 kB / 2.101 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/3.692, allocations: 0.9648 MB / 2.102 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/3.692, allocations: 19.77 kB / 2.102 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/3.692, allocations: 0 / 2.102 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/3.693, allocations: 0.8164 MB / 2.103 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/3.696, allocations: 1.567 MB / 2.104 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/3.696, allocations: 0 / 2.104 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/3.696, allocations: 51.39 kB / 2.104 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/3.697, allocations: 175.3 kB / 2.105 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/3.697, allocations: 13.84 kB / 2.105 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/3.698, allocations: 1.408 MB / 2.106 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/3.698, allocations: 0 / 2.106 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002377/3.701, allocations: 1.126 MB / 2.107 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/3.701, allocations: 216.3 kB / 2.107 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/3.701, allocations: 11.92 kB / 2.107 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/3.701, allocations: 27.39 kB / 2.107 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/3.702, allocations: 32.39 kB / 2.107 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/3.702, allocations: 31.98 kB / 2.107 GB, free: 217.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004064/3.702, allocations: 314.9 kB / 2.108 GB, free: 216.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002596/3.705, allocations: 0.6977 MB / 2.108 GB, free: 216.2 MB / 0.948 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.002092/3.707, allocations: 0.8259 MB / 2.109 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001498/3.708, allocations: 0.7427 MB / 2.11 GB, free: 214.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/3.708, allocations: 0 / 2.11 GB, free: 214.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005209/3.709, allocations: 305.1 kB / 2.11 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/3.71, allocations: 288 kB / 2.11 GB, free: 214.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/3.713, allocations: 1.012 MB / 2.111 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/3.713, allocations: 1.055 MB / 2.112 GB, free: 212.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/3.713, allocations: 0 / 2.112 GB, free: 212.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03308/3.747, allocations: 22.54 MB / 2.134 GB, free: 190.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)