Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.51/1.51, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001162/0.001162, allocations: 191.5 kB / 361.1 MB, free: 7.078 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.392/1.392, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008342/0.0008341, allocations: 95.8 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.286e-05/1.287e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5583, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8861/1.444, allocations: 0.5129 GB / 1.477 GB, free: 39.07 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.445, allocations: 85.14 kB / 1.477 GB, free: 39.03 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094/3.539, allocations: 0.5686 GB / 2.045 GB, free: 243.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.171e-05/3.539, allocations: 17.56 kB / 2.045 GB, free: 243.3 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.004396/3.544, allocations: 1.538 MB / 2.047 GB, free: 242.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/3.544, allocations: 12 kB / 2.047 GB, free: 242.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/3.545, allocations: 140.5 kB / 2.047 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06062/3.605, allocations: 30.37 MB / 2.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/3.605, allocations: 20.92 kB / 2.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/3.606, allocations: 30 kB / 2.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009996/3.607, allocations: 291 kB / 2.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/3.608, allocations: 455.5 kB / 2.077 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/3.608, allocations: 2.906 kB / 2.077 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/3.608, allocations: 6.969 kB / 2.077 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/3.608, allocations: 9.344 kB / 2.077 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/3.611, allocations: 2.219 MB / 2.079 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/3.611, allocations: 189.8 kB / 2.08 GB, free: 240.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/3.612, allocations: 128.4 kB / 2.08 GB, free: 240.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/3.613, allocations: 2.004 MB / 2.082 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/3.613, allocations: 38.41 kB / 2.082 GB, free: 238.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.216e-06/3.613, allocations: 8.969 kB / 2.082 GB, free: 238.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.006342/3.619, allocations: 1.749 MB / 2.083 GB, free: 237.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/3.619, allocations: 54.66 kB / 2.084 GB, free: 237.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/3.62, allocations: 419 kB / 2.084 GB, free: 237.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/3.62, allocations: 28.66 kB / 2.084 GB, free: 237.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/3.62, allocations: 247.3 kB / 2.084 GB, free: 237.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/3.62, allocations: 143.7 kB / 2.084 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/3.62, allocations: 9.062 kB / 2.084 GB, free: 237.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/3.62, allocations: 363.1 kB / 2.085 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/3.621, allocations: 132.7 kB / 2.085 GB, free: 237.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/3.621, allocations: 257.3 kB / 2.085 GB, free: 237 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/3.622, allocations: 252.4 kB / 2.085 GB, free: 237 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/3.622, allocations: 0 / 2.085 GB, free: 237 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001849/3.624, allocations: 0.6471 MB / 2.086 GB, free: 236.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002449/3.624, allocations: 1.142 MB / 2.087 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/3.624, allocations: 3.562 kB / 2.087 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/3.625, allocations: 189.3 kB / 2.087 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/3.625, allocations: 72.83 kB / 2.087 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/3.626, allocations: 1.416 MB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/3.627, allocations: 29.53 kB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/3.627, allocations: 38.22 kB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/3.627, allocations: 4.188 kB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/3.628, allocations: 0.543 MB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/3.628, allocations: 5.375 kB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/3.629, allocations: 184.4 kB / 2.089 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/3.629, allocations: 74.83 kB / 2.09 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/3.63, allocations: 1.415 MB / 2.091 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/3.631, allocations: 33.83 kB / 2.091 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.905e-05/3.631, allocations: 35.81 kB / 2.091 GB, free: 233.5 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.0002359/3.631, allocations: 123.5 kB / 2.091 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/3.632, allocations: 78.59 kB / 2.091 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/3.635, allocations: 0.9666 MB / 2.092 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/3.635, allocations: 7.875 kB / 2.092 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/3.635, allocations: 0.5312 kB / 2.092 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001861/3.636, allocations: 0.8157 MB / 2.093 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/3.64, allocations: 1.568 MB / 2.094 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/3.64, allocations: 0 / 2.094 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/3.64, allocations: 53.73 kB / 2.094 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/3.641, allocations: 176 kB / 2.095 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/3.641, allocations: 14.34 kB / 2.095 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/3.642, allocations: 1.406 MB / 2.096 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/3.642, allocations: 3.906 kB / 2.096 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002534/3.644, allocations: 1.123 MB / 2.097 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/3.645, allocations: 224.6 kB / 2.097 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/3.645, allocations: 1.406 kB / 2.097 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/3.646, allocations: 26.11 kB / 2.097 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/3.646, allocations: 32.8 kB / 2.097 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/3.646, allocations: 35 kB / 2.097 GB, free: 231.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00048/3.646, allocations: 317.3 kB / 2.098 GB, free: 231.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003071/3.649, allocations: 0.7032 MB / 2.098 GB, free: 231.1 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.002978/3.652, allocations: 0.8286 MB / 2.099 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001876/3.654, allocations: 0.7412 MB / 2.1 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/3.654, allocations: 1.406 kB / 2.1 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/3.655, allocations: 300.7 kB / 2.1 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/3.656, allocations: 284.6 kB / 2.101 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/3.659, allocations: 1.01 MB / 2.102 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/3.66, allocations: 1.053 MB / 2.103 GB, free: 229.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/3.66, allocations: 0 / 2.103 GB, free: 229.8 MB / 0.948 GB Notification: Performance of Templates: time 0.04259/3.703, allocations: 22.54 MB / 2.125 GB, free: 229.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)