Error report for Modelica.Fluid.Examples.HeatingSystem

Compiler arguments:
-log=i,w|xml|stderr -opt=max_n_proc:1,c_compiler:gcc -target=me -version=1.0 -platform=win32 -out=. -modelicapath=C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL Modelica.Fluid.Examples.HeatingSystem
Current working directory:
C:\Users\tove_021
Compiler version: 1.17.x
Java version: 1.7.0_15
MODELICAPATH =
JAVA_HOME = C:\JModelica.org-SDK-1.11\Java\jdk1.7.0_15
JMODELICA_HOME = C:\JModelica.org-SDK-1.11\install
======= Compiling model =======
Checking for errors...
MODELICAPATH = C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL
extra_lib_dirs =
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\ComplexBlocks.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\ComplexMath.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Constants.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Icons.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Magnetic\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\SIunits.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\StateGraph.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Thermal\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Dissipation.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Fittings.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Icons.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Machines.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Sensors.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Sources.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\System.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Types.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Utilities.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Valves.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Vessels.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\AST_BatchPlant.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\BranchingDynamicPipes.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\ControlledTankSystem.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\DrumBoiler.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\Explanatory.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\HeatExchanger.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\HeatingSystem.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\IncompressibleFluidNetwork.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\InverseParameterization.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\NonCircularPipes.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\PumpingSystem.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\Tanks.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Examples\TraceSubstances.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Continuous.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Discrete.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Icons.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Interaction.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Interfaces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Logical.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Math.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\MathBoolean.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\MathInteger.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Nonlinear.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Routing.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Sources.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Tables.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Types.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Thermal\FluidHeatFlow.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Thermal\HeatTransfer.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\Air\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\CompressibleLiquids.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\IdealGases\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\Incompressible.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\R134a.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\Water\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\Water\IF97_Utilities.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\ModelicaServices\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\BooleanVectors.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\isPowerOf2.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\Nonlinear.mo
Warning at line 223, column 47, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo':
The component allowFlowReversal is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 227, column 59, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo':
The component port_a is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 234, column 28, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo':
The component port_b is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 242, column 11, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo':
The component port_a_exposesState is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 244, column 61, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo':
The component port_b_exposesState is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 246, column 63, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Interfaces.mo':
The component showDesignFlowDirection is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 312, column 80, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The component nParallel is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 1015, column 92, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The component allowFlowReversal is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 1020, column 107, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The component momentumDynamics is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 1023, column 109, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The component m_flow_start is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 1219, column 75, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The parameter heater.flowModel.dp_nominal does not have a binding expression
Warning at line 1219, column 75, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The parameter pipe.flowModel.dp_nominal does not have a binding expression
Warning at line 1219, column 75, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The parameter radiator.flowModel.dp_nominal does not have a binding expression
Warning at line 1229, column 15, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The parameter heater.flowModel.dp_small does not have a binding expression
Warning at line 1229, column 15, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The parameter pipe.flowModel.dp_small does not have a binding expression
Warning at line 1229, column 15, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Pipes.mo':
The parameter radiator.flowModel.dp_small does not have a binding expression
Warning at line 435, column 54, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Valves.mo':
The parameter valve.Av does not have a binding expression
Warning at line 306, column 18, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\Vessels.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 4427, column 64, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Warning at line 4428, column 76, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Warning at line 4430, column 96, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Warning at line 7191, column 38, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Warning at line 7193, column 66, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Warning at line 7195, column 64, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Warning at line 7197, column 70, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo':
String parameters are only partially supported
Flattening model...
Applying transformation: enableIfEquationElimination...
Applying transformation: genBindingAssignments...
Applying transformation: scalarize...
Applying transformation: MakeReinitedVarsStates...
Applying transformation: enableIfEquationElimination...
Applying transformation: enableStreamsRewrite...
Applying transformation: extractEventGeneratingExps...
Applying transformation: transformAlgorithms...
Applying transformation: enableWhenClauseRewrite...
Applying transformation: extractSampleExpressions...
Applying transformation: genInitArrayStatements...
Applying transformation: FunctionInliningIfSet...
Applying transformation: setFDerivativeVariables...
Applying transformation: addFPreVariables...
Applying transformation: enableIfEquationRewrite...
Applying transformation: aliasEliminationIfSet...
Applying transformation: variabilityPropagationIfSet...
Applying transformation: aliasEliminationIfSet...
Applying transformation: enableExpandedInStreamRewrite...
Applying transformation: evaluateAsserts...
Applying transformation: enableSemiLinearRewrite...
Applying transformation: eliminateEqualSwitches...
Applying transformation: genInitialEquations...
Applying transformation: setFDerivativeVariablesPreBLT...
Applying transformation: propagateNonFixedParameters...
Applying transformation: indexReduction...
Applying transformation: aliasEliminationIfSet...
Applying transformation: setFDerivativeVariables...
States:
Modelica.Fluid.Examples.HeatingSystem.tank.medium.InputSpecificEnthalpy tank.medium.h(start = tank.h_start,stateSelect = StateSelect.prefer,nominal = 500000.0,min = -1.0E10,max = 1.0E10) "Specific enthalpy of medium"
Modelica.Fluid.Examples.HeatingSystem.heater.mediums.mediums.InputSpecificEnthalpy heater.mediums[1].h(start = 335014.41963828163,stateSelect = StateSelect.prefer,nominal = 500000.0,min = -1.0E10,max = 1.0E10) "Specific enthalpy of medium"
Modelica.Fluid.Examples.HeatingSystem.heater.mediums.mediums.InputAbsolutePressure heater.mediums[1].p(start = heater.ps_start[1],stateSelect = StateSelect.prefer,min = 611.657,max = 1.0E8,nominal = 1000000.0) "Absolute pressure of medium"
Modelica.Fluid.Examples.HeatingSystem.radiator.mediums.mediums.InputSpecificEnthalpy radiator.mediums[1].h(start = 167632.00226323432,stateSelect = StateSelect.prefer,nominal = 500000.0,min = -1.0E10,max = 1.0E10) "Specific enthalpy of medium"
Modelica.Fluid.Examples.HeatingSystem.radiator.mediums.mediums.InputAbsolutePressure radiator.mediums[1].p(start = radiator.ps_start[1],stateSelect = StateSelect.prefer,min = 611.657,max = 1.0E8,nominal = 1000000.0) "Absolute pressure of medium"
Modelica.Fluid.Examples.HeatingSystem.pipe.mediums.mediums.InputSpecificEnthalpy pipe.mediums[1].h(start = 335014.41963828163,stateSelect = StateSelect.prefer,nominal = 500000.0,min = -1.0E10,max = 1.0E10) "Specific enthalpy of medium"
Modelica.Fluid.Examples.HeatingSystem.pipe.mediums.mediums.InputSpecificEnthalpy pipe.mediums[2].h(start = 335014.41963828163,stateSelect = StateSelect.prefer,nominal = 500000.0,min = -1.0E10,max = 1.0E10) "Specific enthalpy of medium"
Modelica.Fluid.Examples.HeatingSystem.pipe.mediums.mediums.InputAbsolutePressure pipe.mediums[1].p(start = pipe.ps_start[1],stateSelect = StateSelect.prefer,min = 611.657,max = 1.0E8,nominal = 1000000.0) "Absolute pressure of medium"
Modelica.Fluid.Examples.HeatingSystem.pipe.mediums.mediums.InputAbsolutePressure pipe.mediums[2].p(start = pipe.ps_start[2],stateSelect = StateSelect.prefer,min = 611.657,max = 1.0E8,nominal = 1000000.0) "Absolute pressure of medium"
Modelica.SIunits.Height tank.level(stateSelect = StateSelect.prefer,start = tank.level_start_eps) "Level height of tank"

Applying transformation: LateFunctionInliningIfSet...
Applying transformation: commonSubexpressionEliminationIfSet...
Applying transformation: addFPreVariables...
Applying transformation: aliasEliminationIfSet...
Applying transformation: sortDependentParameters...
Applying transformation: addRuntimeOptionParameters...
Applying transformation: computeMatchingsAndBLT...
Warning in flattened model:
Iteration variable "der(heater.mediums[1].p)" is missing start value!
Warning in flattened model:
Iteration variable "der(pipe.mediums[1].p)" is missing start value!
Warning in flattened model:
Iteration variable "der(pipe.mediums[2].p)" is missing start value!
Warning in flattened model:
Iteration variable "der(radiator.mediums[1].p)" is missing start value!
Warning in flattened model:
Iteration variable "der(tank.fluidVolume)" is missing start value!
Warning in flattened model:
Iteration variable "der(tank.medium.h)" is missing start value!
Generating code...
====== Model compiled successfully =======

Compiling...
... elapsed time: 17.68s
Loading...
States: ['tank.medium.h', 'heater.mediums[1].h', 'heater.mediums[1].p', 'radiator.mediums[1].h', 'radiator.mediums[1].p', 'pipe.mediums[1].h', 'pipe.mediums[2].h', 'pipe.mediums[1].p', 'pipe.mediums[2].p', 'tank.level']
Nominals: [500000.0, 500000.0, 1000000.0, 500000.0, 1000000.0, 500000.0, 500000.0, 1000000.0, 1000000.0, 1.0]
... elapsed time: 0.20s
Found solver method None...
... ncp = 2000
... using CVode
Initializing...
Start Time: 0.0
Stop Time: 6000.0
Tolerance: 1e-06
... elapsed time: 0.01s
Simulating...
Integrator time: 5.493794e+03 Final Run Statistics: Modelica.Fluid.Examples.HeatingSystem

Number of steps : 2103
Number of function evaluations : 2168
Number of Jacobian evaluations : 39
Number of function eval. due to Jacobian eval. : 390
Number of error test failures : 7
Number of nonlinear iterations : 2160
Number of nonlinear convergence failures : 1
Number of state function evaluations : 2105
Number of time events : 1

Solver options:

Solver : CVode
Linear multistep method : BDF
Nonlinear solver : Newton
Linear solver type : DENSE
Maximal order : 5
Tolerances (absolute) : [ 5.00000000e-01 5.00000000e-01 1.00000000e+00 5.00000000e-01
1.00000000e+00 5.00000000e-01 5.00000000e-01 1.00000000e+00
1.00000000e+00 1.00000000e-06]
Tolerances (relative) : 1e-06

Simulation interval : 0.0 - 6000.0 seconds.
Elapsed simulation time: 10.9805332014 seconds.
... elapsed time: 11.49s