Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7692/0.7692, allocations: 141.8 MB / 149.1 MB, free: 3.934 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 181.2 kB / 181.9 MB, free: 15.62 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.4 MB / 436 MB, free: 8.734 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 100.4 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 282.9 kB / 0.5884 GB, free: 11.78 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.059e-05, allocations: 4 kB / 0.6759 GB, free: 2.148 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5978, allocations: 82.75 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/2.11, allocations: 0.5734 GB / 1.33 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/2.11, allocations: 89.08 kB / 1.33 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.7791/2.889, allocations: 163.9 MB / 1.49 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001027/2.89, allocations: 21.52 kB / 1.49 GB, free: 209.8 MB / 0.6982 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.002266/2.892, allocations: 0.9451 MB / 1.491 GB, free: 209.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/2.892, allocations: 10.66 kB / 1.491 GB, free: 209.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/2.895, allocations: 304.6 kB / 1.491 GB, free: 209.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/2.896, allocations: 0.6871 MB / 1.492 GB, free: 209 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/2.897, allocations: 13.06 kB / 1.492 GB, free: 209 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/2.897, allocations: 26.19 kB / 1.492 GB, free: 209 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000631/2.897, allocations: 289.5 kB / 1.492 GB, free: 209 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/2.898, allocations: 447.2 kB / 1.493 GB, free: 208.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/2.898, allocations: 3.844 kB / 1.493 GB, free: 208.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/2.898, allocations: 0 / 1.493 GB, free: 208.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/2.898, allocations: 10.94 kB / 1.493 GB, free: 208.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/2.901, allocations: 2.724 MB / 1.496 GB, free: 207.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/2.901, allocations: 201.1 kB / 1.496 GB, free: 207 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/2.902, allocations: 130.3 kB / 1.496 GB, free: 207 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/2.902, allocations: 0.6618 MB / 1.497 GB, free: 206.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/2.902, allocations: 40.55 kB / 1.497 GB, free: 206.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/2.902, allocations: 0 / 1.497 GB, free: 206.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40): time 0.005336/2.907, allocations: 1.658 MB / 1.498 GB, free: 205.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/2.907, allocations: 81.08 kB / 1.498 GB, free: 205.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/2.908, allocations: 406 kB / 1.499 GB, free: 205.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/2.908, allocations: 29.31 kB / 1.499 GB, free: 205.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/2.908, allocations: 249.3 kB / 1.499 GB, free: 205.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/2.908, allocations: 136.8 kB / 1.499 GB, free: 205.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/2.908, allocations: 0 / 1.499 GB, free: 205.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/2.908, allocations: 367.8 kB / 1.499 GB, free: 204.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/2.909, allocations: 143.8 kB / 1.5 GB, free: 204.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/2.909, allocations: 271.7 kB / 1.5 GB, free: 204.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/2.909, allocations: 200 kB / 1.5 GB, free: 204.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.909, allocations: 0 / 1.5 GB, free: 204.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00158/2.911, allocations: 0.6668 MB / 1.501 GB, free: 204.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/2.911, allocations: 1.222 MB / 1.502 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/2.911, allocations: 3.938 kB / 1.502 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009228/2.912, allocations: 269.4 kB / 1.502 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/2.912, allocations: 70.52 kB / 1.502 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004736/2.917, allocations: 3.851 MB / 1.506 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/2.918, allocations: 71.05 kB / 1.506 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/2.919, allocations: 24.3 kB / 1.506 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/2.919, allocations: 3.375 kB / 1.506 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001565/2.92, allocations: 0.5821 MB / 1.507 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/2.92, allocations: 3.844 kB / 1.507 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008485/2.921, allocations: 274.2 kB / 1.507 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/2.921, allocations: 68.3 kB / 1.507 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004948/2.926, allocations: 3.851 MB / 1.511 GB, free: 198.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/2.928, allocations: 74.33 kB / 1.511 GB, free: 198.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/2.928, allocations: 22.11 kB / 1.511 GB, free: 198.2 MB / 0.6982 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.0002843/2.928, allocations: 131.1 kB / 1.511 GB, free: 198.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/2.928, allocations: 64.25 kB / 1.511 GB, free: 198.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/2.93, allocations: 0.6134 MB / 1.512 GB, free: 198 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/2.93, allocations: 3.312 kB / 1.512 GB, free: 198 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/2.93, allocations: 0 / 1.512 GB, free: 198 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/2.932, allocations: 0.702 MB / 1.512 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/2.935, allocations: 1.569 MB / 1.514 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/2.935, allocations: 3.656 kB / 1.514 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/2.936, allocations: 48.66 kB / 1.514 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/2.937, allocations: 235.2 kB / 1.514 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/2.937, allocations: 16.86 kB / 1.514 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/2.942, allocations: 3.632 MB / 1.518 GB, free: 194.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.942, allocations: 1.219 kB / 1.518 GB, free: 194.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002112/2.944, allocations: 0.888 MB / 1.518 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/2.945, allocations: 187.1 kB / 1.519 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/2.945, allocations: 9.688 kB / 1.519 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/2.947, allocations: 67.09 kB / 1.519 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/2.947, allocations: 20.98 kB / 1.519 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/2.947, allocations: 20.23 kB / 1.519 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006443/2.947, allocations: 309.4 kB / 1.519 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00276/2.95, allocations: 438.4 kB / 1.519 GB, free: 194.4 MB / 0.6982 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.001125/2.951, allocations: 325.3 kB / 1.52 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002879/2.954, allocations: 1.164 MB / 1.521 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/2.954, allocations: 0 / 1.521 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/2.956, allocations: 479.9 kB / 1.521 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/2.957, allocations: 312.2 kB / 1.522 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/2.96, allocations: 0.9275 MB / 1.523 GB, free: 193.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/2.961, allocations: 0.9749 MB / 1.524 GB, free: 192.7 MB / 0.6982 GB Notification: Performance of SimCode: time 1.092e-06/2.961, allocations: 0 / 1.524 GB, free: 192.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.03141/2.992, allocations: 18.42 MB / 1.542 GB, free: 192 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)