wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file preciceAdapterFunctionObject.C Making dependency list for source file Adapter.C Making dependency list for source file FF/PressureGradient.C Making dependency list for source file FF/Pressure.C Making dependency list for source file FF/VelocityGradient.C Making dependency list for source file FF/Velocity.C Making dependency list for source file FF/FF.C Making dependency list for source file FSI/DisplacementDelta.C Making dependency list for source file FSI/Displacement.C Making dependency list for source file FSI/Stress.C Making dependency list for source file FSI/Force.C Making dependency list for source file FSI/ForceBase.C Making dependency list for source file FSI/FSI.C Making dependency list for source file CHT/CHT.C Making dependency list for source file CHT/SinkTemperature.C Making dependency list for source file CHT/HeatTransferCoefficient.C Making dependency list for source file CHT/HeatFlux.C Making dependency list for source file CHT/KappaEffective.C Making dependency list for source file CHT/Temperature.C Making dependency list for source file CouplingDataUser.C Making dependency list for source file Interface.C Making dependency list for source file Utilities.C g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/meshTools/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/ -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/incompressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/compressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/twoPhaseMixture/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/interfaceProperties/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/thermophysicalModels/basic/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/compressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/incompressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/triSurface/lnInclude -I/work/ec055/ec055/yhuang94/Dependencies/precice-2.4.0/include -I../ -IlnInclude -I. -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OSspecific/POSIX/lnInclude -fPIC -c Utilities.C -o Make/linux64GccDPInt32Opt/Utilities.o g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/meshTools/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/ -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/incompressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/compressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/twoPhaseMixture/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/interfaceProperties/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/thermophysicalModels/basic/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/compressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/incompressible/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/triSurface/lnInclude -I/work/ec055/ec055/yhuang94/Dependencies/precice-2.4.0/include -I../ -IlnInclude -I. -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude -I/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OSspecific/POSIX/lnInclude -fPIC -c Interface.C -o Make/linux64GccDPInt32Opt/Interface.o In file included from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/PackedList.H:641, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/PackedBoolList.H:46, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/ZoneMesh.H:42, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/pointZoneMesh.H:32, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/polyMesh.H:55, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/fvMesh.H:50, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/fvCFD.H:7, from Interface.H:6, from Interface.C:1: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/PackedListI.H: In member function ‘void Foam::PackedList::const_iterator::operator=(const Foam::PackedList::iteratorBase&)’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/PackedListI.H:550:13: error: return-statement with a value, in function returning ‘void’ [-fpermissive] return *this; ^~~~ In file included from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/token.H:46, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UListIO.C:28, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UList.C:233, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UList.H:484, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/List.H:43, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/labelList.H:48, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UPstream.H:42, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/Pstream.H:42, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/parRun.H:35, from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/fvCFD.H:4, from Interface.H:6, from Interface.C:1: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of ‘To& Foam::refCast(From&) [with To = const Foam::cyclicPolyPatch; From = const Foam::polyPatch]’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/cyclicPolyPatch.H:332:53: required from here /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H:112:5: warning: catching polymorphic type ‘class std::bad_cast’ by value [-Wcatch-value=] catch (std::bad_cast) ^~~~~ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of ‘To& Foam::refCast(From&) [with To = const Foam::coupledPolyPatch; From = const Foam::polyPatch]’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/coupledFvPatch.H:85:68: required from here /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H:112:5: warning: catching polymorphic type ‘class std::bad_cast’ by value [-Wcatch-value=] /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of ‘To& Foam::refCast(From&) [with To = const Foam::cyclicAMIPolyPatch; From = const Foam::polyPatch]’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:83:72: required from here /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H:112:5: warning: catching polymorphic type ‘class std::bad_cast’ by value [-Wcatch-value=] /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of ‘To& Foam::refCast(From&) [with To = const Foam::cyclicAMIFvPatch; From = const Foam::fvPatch]’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:114:17: required from here /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H:112:5: warning: catching polymorphic type ‘class std::bad_cast’ by value [-Wcatch-value=] /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of ‘To& Foam::dynamicCast(From&) [with To = Foam::token::Compound >; From = Foam::token::compound]’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/ListIO.C:60:13: required from ‘Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List&) [with T = int]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/faceI.H:162:40: required from here /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H:91:5: warning: catching polymorphic type ‘class std::bad_cast’ by value [-Wcatch-value=] catch (std::bad_cast) ^~~~~ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of ‘To& Foam::dynamicCast(From&) [with To = Foam::token::Compound >; From = Foam::token::compound]’: /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/ListIO.C:60:13: required from ‘Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List&) [with T = double]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/ListIO.C:39:15: required from ‘Foam::List::List(Foam::Istream&) [with T = double]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C:223:25: required from ‘static void Foam::mapDistributeBase::distribute(Foam::UPstream::commsTypes, const Foam::List >&, Foam::label, const labelListList&, bool, const labelListList&, bool, Foam::List&, const negateOp&, int) [with T = double; negateOp = Foam::noOp; Foam::label = int; Foam::labelListList = Foam::List >]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C:1160:9: required from ‘void Foam::mapDistributeBase::distribute(Foam::List&, const negateOp&, int) const [with T = double; negateOp = Foam::noOp]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/Field.C:531:13: required from ‘void Foam::Field::autoMap(const Foam::FieldMapper&, bool) [with Type = double]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/fvPatchField.C:257:29: required from ‘void Foam::fvPatchField::autoMap(const Foam::fvPatchFieldMapper&) [with Type = double]’ /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/fvPatchField.C:239:6: required from here /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/typeInfo.H:91:5: warning: catching polymorphic type ‘class std::bad_cast’ by value [-Wcatch-value=] make: *** [/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/wmake/rules/General/transform:8: Make/linux64GccDPInt32Opt/Interface.o] Error 1