Your code is unfortunately not executable and I cannot reproduce the error in PyTorch 1.2.0:
>>> import torch
>>> torch.__version__
'1.2.0'
>>> import torch.nn as nn
>>> model = nn.Linear(1, 1)
>>> model.load_state_dict(nn.Linear(1, 1).state_dict(), strict=False)
<All keys matched successfully>
>>> model.load_state_dict(nn.Linear(1, 1).state_dict(), strict=True)
<All keys matched successfully>