[Cl:1][C:2]1[CH:12]=[CH:11][C:5]2[S:6][C:7]([CH:9]=O)=[CH:8][C:4]=2[CH:3]=1.C(O)(=O)[CH2:14][C:15]([OH:17])=[O:16].N1C=CC=CC=1.N1CCCCC1>O>[Cl:1][C:2]1[CH:12]=[CH:11][C:5]2[S:6][C:7](/[CH:9]=[CH:14]/[C:15]([OH:17])=[O:16])=[CH:8][C:4]=2[CH:3]=1A mixture containing 5-chlorobenzo[b]thiophene-2-carboxaldehyde (Matsunaga Bioorg. Med. Chem. 2004, 12, 2251), malonic acid (1.4 equiv), pyridine (2.5 equiv) and piperidine (0.1 equiv) was heated at 110° C. for a period of 4 h. The reaction mixture was cooled, poured into H2O and filtered to provide the title compound.